Fix Error locations

This commit is contained in:
Mike Reeves
2020-04-24 14:28:23 -04:00
parent 3136affc91
commit d695514929
8 changed files with 32 additions and 32 deletions

View File

@@ -299,12 +299,12 @@ http {
return 302 /auth/self-service/browser/flows/login; return 302 /auth/self-service/browser/flows/login;
} }
error_page 404 /404.html; #error_page 404 /404.html;
location = /40x.html { # location = /usr/share/nginx/html/40x.html {
} #}
error_page 500 502 503 504 /50x.html; error_page 500 502 503 504 /50x.html;
location = /50x.html { location = /usr/share/nginx/html/50x.html {
} }
} }

View File

@@ -86,12 +86,12 @@ http {
} }
error_page 404 /404.html; #error_page 404 /404.html;
location = /40x.html { # location = /40x.html {
} #}
error_page 500 502 503 504 /50x.html; error_page 500 502 503 504 /50x.html;
location = /50x.html { location = /usr/share/nginx/html/50x.html {
} }
} }

View File

@@ -77,12 +77,12 @@ http {
# location / { # location / {
# } # }
# #
# error_page 404 /404.html; # #error_page 404 /404.html;
# location = /40x.html { # # location = /40x.html {
# } # #}
# #
# error_page 500 502 503 504 /50x.html; # error_page 500 502 503 504 /50x.html;
# location = /50x.html { # location = /usr/share/nginx/html/50x.html {
# } # }
# } # }

View File

@@ -47,12 +47,12 @@ http {
location / { location / {
} }
error_page 404 /404.html; #error_page 404 /404.html;
location = /40x.html { # location = /40x.html {
} #}
error_page 500 502 503 504 /50x.html; error_page 500 502 503 504 /50x.html;
location = /50x.html { location = /usr/share/nginx/html/50x.html {
} }
} }

View File

@@ -299,12 +299,12 @@ http {
return 302 /auth/self-service/browser/flows/login; return 302 /auth/self-service/browser/flows/login;
} }
error_page 404 /404.html; #error_page 404 /404.html;
location = /40x.html { # location = /40x.html {
} #}
error_page 500 502 503 504 /50x.html; error_page 500 502 503 504 /50x.html;
location = /50x.html { location = /usr/share/nginx/html/50x.html {
} }
} }

View File

@@ -299,12 +299,12 @@ http {
return 302 /auth/self-service/browser/flows/login; return 302 /auth/self-service/browser/flows/login;
} }
error_page 404 /404.html; #error_page 404 /404.html;
location = /40x.html { # location = /40x.html {
} #}
error_page 500 502 503 504 /50x.html; error_page 500 502 503 504 /50x.html;
location = /50x.html { location = /usr/share/nginx/html/50x.html {
} }
} }

View File

@@ -47,12 +47,12 @@ http {
location / { location / {
} }
error_page 404 /404.html; #error_page 404 /404.html;
location = /40x.html { # location = /40x.html {
} #}
error_page 500 502 503 504 /50x.html; error_page 500 502 503 504 /50x.html;
location = /50x.html { location = /usr/share/nginx/html/50x.html {
} }
} }

View File

@@ -47,12 +47,12 @@ http {
location / { location / {
} }
error_page 404 /404.html; #error_page 404 /404.html;
location = /40x.html { # location = /40x.html {
} #}
error_page 500 502 503 504 /50x.html; error_page 500 502 503 504 /50x.html;
location = /50x.html { location = /usr/share/nginx/html/50x.html {
} }
} }