fix nginx config as the missing 50x.html escalates 502 errors to 404 errors

This commit is contained in:
fkwp
2026-05-05 12:02:36 +02:00
parent b276eeee75
commit aa2f22e699

View File

@@ -42,8 +42,6 @@ server {
proxy_set_header Host $host; proxy_set_header Host $host;
} }
error_page 500 502 503 504 /50x.html;
} }
# Synapse reverse proxy including .well-known/matrix/client # Synapse reverse proxy including .well-known/matrix/client
@@ -91,8 +89,6 @@ server {
proxy_set_header Host $host; proxy_set_header Host $host;
} }
error_page 500 502 503 504 /50x.html;
} }
# MatrixRTC reverse proxy # MatrixRTC reverse proxy
@@ -144,8 +140,6 @@ server {
proxy_pass http://livekit-sfu:7880/; proxy_pass http://livekit-sfu:7880/;
} }
error_page 500 502 503 504 /50x.html;
} }
# MatrixRTC reverse proxy # MatrixRTC reverse proxy
@@ -192,8 +186,6 @@ server {
proxy_pass http://livekit-sfu-1:17880/; proxy_pass http://livekit-sfu-1:17880/;
} }
error_page 500 502 503 504 /50x.html;
} }
# Convenience reverse proxy for the call.m.localhost domain to element call # Convenience reverse proxy for the call.m.localhost domain to element call
@@ -243,7 +235,6 @@ server {
proxy_pass http://host.docker.internal:8080; proxy_pass http://host.docker.internal:8080;
} }
error_page 500 502 503 504 /50x.html;
} }
@@ -276,8 +267,6 @@ server {
} }
error_page 500 502 503 504 /50x.html;
} }
# Convenience reverse proxy app.othersite.m.localhost for element web # Convenience reverse proxy app.othersite.m.localhost for element web
@@ -309,6 +298,4 @@ server {
} }
error_page 500 502 503 504 /50x.html;
} }