updated nginx state
This commit is contained in:
parent
1c65a5ebdb
commit
8a734d73b6
@ -33,9 +33,6 @@ http {
|
|||||||
fastcgi_intercept_errors on;
|
fastcgi_intercept_errors on;
|
||||||
fastcgi_read_timeout 300;
|
fastcgi_read_timeout 300;
|
||||||
|
|
||||||
error_page 403 =403 /403.html;
|
|
||||||
error_page 404 =404 /fuck.html;
|
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 80 default_server;
|
listen 80 default_server;
|
||||||
listen 443 default_server ssl;
|
listen 443 default_server ssl;
|
||||||
|
@ -13,6 +13,10 @@ server {
|
|||||||
|
|
||||||
index index.php index.html;
|
index index.php index.html;
|
||||||
|
|
||||||
|
location ~ setup.php$ {
|
||||||
|
return 403;
|
||||||
|
}
|
||||||
|
|
||||||
location ~ \.php?$ {
|
location ~ \.php?$ {
|
||||||
include fastcgi_params;
|
include fastcgi_params;
|
||||||
fastcgi_pass unix:{{ php_socket_file }};
|
fastcgi_pass unix:{{ php_socket_file }};
|
||||||
|
Loading…
Reference in New Issue
Block a user