Example for ssl spdy nginx config


(Robert) #1

I know I would have less issues if I could use the supported docker install. However, I cannot (yet).

Can someone please post its working nginx discourse.conf file? As soon as I turn on SSL (with or without SPDY), I get ERR_SPDY_PROTOCOL_ERROR or ERR_SSL_PROTOCOL_ERROR (/auth/google_oauth2) in both Chrome and Firefox when trying to start login/signup with Twitter or Google

The issue is hosted here : https://forum.visionarys.club


(Robert) #2

The reason might be a 302 redirect that I do not understand:

140.77.67.112 - - [17/Dec/2014:13:10:24 +0000] "GET /auth/google_oauth2 HTTP/1.1" 302 344 "https://forum.visionarys.club/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.65 Safari/537.36"
140.77.67.112 - - [17/Dec/2014:13:10:24 +0000] "GET /auth/google_oauth2 HTTP/1.1" 302 344 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.65 Safari/537.36"

(Jason Nall) #3

You can find the relevant lines here.

Hope this helps!


(Robert) #4

This was the file I initally used to build my config. However, I still suffer the SPDY error.

Finally, I decided to turn SPDY off. It’s working now. I will try to put it on again when I can switch the deployment to docker on ARM.