Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: modules/nagios/templates/site.erb

Issue 10630004: Make all our applications work with Nginx 1.4.1 (Closed)
Patch Set: Created May 22, 2013, 4:47 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;
}
}

Powered by Google App Engine
This is Rietveld