|
|
@ -19,15 +19,14 @@ server { |
|
|
|
# Turn on directory listing |
|
|
|
autoindex on; |
|
|
|
|
|
|
|
location / { |
|
|
|
# HTTP Authentication on port 22222 |
|
|
|
include common/acl.conf; |
|
|
|
|
|
|
|
location / { |
|
|
|
try_files $uri $uri/ /index.php?$args; |
|
|
|
} |
|
|
|
|
|
|
|
location = /fpm/status/ {} |
|
|
|
|
|
|
|
location ~ /fpm/status/(.*) { |
|
|
|
include common/acl.conf; |
|
|
|
try_files $uri =404; |
|
|
|
include fastcgi_params; |
|
|
|
fastcgi_param SCRIPT_NAME /status; |
|
|
@ -35,7 +34,6 @@ server { |
|
|
|
} |
|
|
|
|
|
|
|
location ~ \.php$ { |
|
|
|
include common/acl.conf; |
|
|
|
try_files $uri =404; |
|
|
|
include fastcgi_params; |
|
|
|
fastcgi_pass php; |
|
|
|