Skip to content

Commit

Permalink
Use relative paths in nginx.conf.
Browse files Browse the repository at this point in the history
  • Loading branch information
iphoting committed Feb 28, 2013
1 parent 0403a0b commit 5974dec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions conf/nginx.conf.erb
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ http {

# Status. /status.html uses /status
location ~ ^/(status|ping)$ {
include /app/vendor/nginx/conf/fastcgi_params;
include fastcgi_params;
fastcgi_param HTTPS $my_https if_not_empty;
fastcgi_pass php_fpm;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
Expand Down Expand Up @@ -103,7 +103,7 @@ http {
location ~ .*\.php$ {
try_files $uri =404;
limit_conn phplimit 5; # limit to 5 concurrent users to PHP per IP.
include /app/vendor/nginx/conf/fastcgi_params;
include fastcgi_params;
fastcgi_param HTTPS $my_https if_not_empty;
fastcgi_pass php_fpm;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
Expand Down

0 comments on commit 5974dec

Please sign in to comment.