Challenge update, compatible new archi and less frustrating
This commit is contained in:
@ -4,9 +4,6 @@ server {
|
||||
index index.php;
|
||||
server_name localhost;
|
||||
|
||||
error_log /var/log/nginx/error.log;
|
||||
access_log /var/log/nginx/access.log;
|
||||
|
||||
root /webroot;
|
||||
|
||||
location ~ \.php$ {
|
||||
|
@ -23,22 +23,6 @@ http {
|
||||
include /etc/nginx/mime.types;
|
||||
default_type application/octet-stream;
|
||||
|
||||
##
|
||||
# Headers
|
||||
##
|
||||
|
||||
add_header X-Frame-Options DENY;
|
||||
add_header X-Content-Type-Options nosniff;
|
||||
add_header X-XSS-Protection "1; mode=block";
|
||||
|
||||
|
||||
##
|
||||
# Logging Settings
|
||||
##
|
||||
|
||||
access_log /var/log/nginx/access.log;
|
||||
error_log /var/log/nginx/error.log;
|
||||
|
||||
##
|
||||
# Gzip Settings
|
||||
##
|
||||
|
@ -2,7 +2,7 @@ expose_php = Off
|
||||
error_reporting = E_ALL
|
||||
display_errors = Off
|
||||
display_startup_errors = Off
|
||||
log_errors = On
|
||||
log_errors = Off
|
||||
error_log = /var/log/php/php_error.log
|
||||
ignore_repeated_errors = Off
|
||||
allow_url_fopen = Off
|
||||
|
Reference in New Issue
Block a user