mirror of
https://github.com/linuxserver/docker-swag.git
synced 2026-04-15 08:51:07 +09:00
Remove error_pages
This commit is contained in:
@@ -1,6 +0,0 @@
|
||||
## Version 2022/08/20 - Changelog: https://github.com/linuxserver/docker-swag/commits/master/root/defaults/nginx/error_pages.conf.sample
|
||||
|
||||
error_page 502 = @lsio_error_502;
|
||||
location @lsio_error_502 {
|
||||
alias /config/www/502.html;
|
||||
}
|
||||
@@ -1,6 +1,4 @@
|
||||
## Version 2022/08/20 - Changelog: https://github.com/linuxserver/docker-swag/commits/master/root/defaults/nginx/proxy.conf.sample
|
||||
|
||||
include /config/nginx/error_pages.conf;
|
||||
## Version 2022/09/01 - Changelog: https://github.com/linuxserver/docker-swag/commits/master/root/defaults/nginx/proxy.conf.sample
|
||||
|
||||
# Timeout if the real server is dead
|
||||
proxy_next_upstream error timeout invalid_header http_500 http_502 http_503;
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
## Version 2022/08/20 - Changelog: https://github.com/linuxserver/docker-swag/commits/master/root/defaults/nginx/site-confs/default.conf.sample
|
||||
|
||||
include /config/nginx/error_pages.conf;
|
||||
## Version 2022/09/01 - Changelog: https://github.com/linuxserver/docker-swag/commits/master/root/defaults/nginx/site-confs/default.conf.sample
|
||||
|
||||
# redirect all traffic to https
|
||||
server {
|
||||
@@ -22,8 +20,6 @@ server {
|
||||
root /config/www;
|
||||
index index.html index.htm index.php;
|
||||
|
||||
include /config/nginx/error_pages.conf;
|
||||
|
||||
# enable subfolder method reverse proxy confs
|
||||
include /config/nginx/proxy-confs/*.subfolder.conf;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user