| Index: modules/nagios/templates/site.erb |
| =================================================================== |
| --- a/modules/nagios/templates/site.erb |
| +++ b/modules/nagios/templates/site.erb |
| @@ -1,4 +1,5 @@ |
| server { |
| + listen 80; |
| listen [::]:80; |
| server_name '<%= vhost %>'; |
| @@ -8,6 +9,7 @@ |
| } |
| server { |
| + listen 443 ssl; |
| listen [::]:443 ssl; |
| ssl_certificate sites-available/adblockplus.org_sslcert.pem; |
| ssl_certificate_key sites-available/adblockplus.org_sslcert.key; |
| @@ -56,6 +58,7 @@ |
| location ~ \.php$ { |
| include /etc/nginx/fastcgi_params; |
| + fastcgi_param SCRIPT_FILENAME $document_root/$fastcgi_script_name; |
|
Felix Dahlke
2013/05/22 04:50:28
This took quite a while to figure out, any idea wh
Wladimir Palant
2013/05/22 06:22:31
This is actually the proper solution, FastCGI does
Felix Dahlke
2013/05/22 06:59:49
Done. Don't really get why this wasn't necessary w
|
| fastcgi_pass unix:/tmp/php-fastcgi.sock; |
| } |
| } |