Thanks. Point taken. Will go RTFMmore and will try to avoid stupid questions in future :)by Hety - Nginx Mailing List - English
Why its supports it in access_log then? I fail to see logic here.by Hety - Nginx Mailing List - English
There are two things to be aware of here: 1. fastcgi_param HTTPS on; - add this to your location ~ \.php$ {}. 2. If you use php-fpm chroot set: fastcgi_param SCRIPT_FILENAME $fastcgi_script_name; fastcgi_param PATH_TRANSLATED $fastcgi_script_name; Thats because your document root will be just /, but only if your chroot dir = your actual site dir.by Hety - Nginx Mailing List - English
I'm currently trying to make a template for future virtual hosts. To minimize the amount of editing required i am using $server_name in some parts of the template. For example: server_name example.com access_log /var/log/www/$server_name-access combined; error_log /var/log/www/$server_name-error error; While it works great for access_log directive(logfile is named example.com-accessby Hety - Nginx Mailing List - English