GrossumUA / Symfony2-Base-Instance

Basic Symfony2 instance with user registration/authorisation, few entities and base admin panel.
1 stars 4 forks source link

Nginx "HTTPS off" setting #5

Open aivus opened 9 years ago

aivus commented 9 years ago

Nginx config contains HTTPS off setting, but I'm not sure that is really need.

It was added because php couldn't get correctly $_SERVER['HTTPS'] value http://blog.chrismeller.com/getting-php-https-detection-working-in-nginx

But now it works fine without this option.

I think it should be removed. @GrossumUA/collaborators what do you think?

malavsky commented 9 years ago

Took nginx config here.http://symfony.com/doc/current/cookbook/configuration/web_server_configuration.html

If you think it's not needed you can remove it.

aivus commented 9 years ago

Ok, I posted question about it on nginx forum. http://forum.nginx.org/read.php?25,256672

malavsky commented 9 years ago

Great :)