Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork5.3k
Description
In theConfiguring a Web Server it includesfastcgi_param HTTPS off; for the nginx configuration. This can cause issues when you are using HTTPs.
I guess that this config is partly copiedfrom the nginx wiki?
But there it makes more sense, as the Nginx also mentions the SSL server.
Our usecase is an oauth server, which is using the Symfony Security component. In theHttpUtils itlets the request generate the uri when a relative path is given. TheRequest then uses the HTTP flag to determine if it should generate an https url. This caused our oauth to redirect our https call back to a http url.
I would suggest we remove the line from documentation here and let the default values be used. I think most distributions use a file similar as mentioned here:http://wiki.nginx.org/PHPFcgiExample