|
|
@@ -121,9 +121,9 @@ http {
|
|
|
add_header X-Content-Type-Options nosniff;
|
|
|
|
|
|
# Error pages
|
|
|
- error_page 403 /error/403.html;
|
|
|
- error_page 404 /error/404.html;
|
|
|
- error_page 502 503 504 /error/50x.html;
|
|
|
+ error_page 403 /error/404.html;
|
|
|
+ error_page 404 /error/404.html;
|
|
|
+ error_page 502 503 504 505 /error/50x.html;
|
|
|
|
|
|
# Cache settings
|
|
|
proxy_cache_path /var/cache/nginx levels=2 keys_zone=cache:10m inactive=60m max_size=1024m;
|
|
|
@@ -147,6 +147,6 @@ http {
|
|
|
open_file_cache_errors off;
|
|
|
|
|
|
# Wildcard include
|
|
|
- include /etc/nginx/conf.d/*.conf;
|
|
|
- include /etc/nginx/conf.d/domains/*.conf;
|
|
|
+ include /etc/nginx/conf.d/*.conf;
|
|
|
+ include /etc/nginx/conf.d/domains/*.conf;
|
|
|
}
|