diff --git a/nginx.conf b/nginx.conf index 344e502..b8fa1fc 100644 --- a/nginx.conf +++ b/nginx.conf @@ -37,6 +37,7 @@ http { proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto https; proxy_set_header Host $host; + proxy_intercept_errors on; location /ide/ { proxy_pass https://patience.studentrobotics.org/ide/; @@ -183,7 +184,7 @@ http { error_page 500 502 503 504 @error_fallback; location @missing_fallback { - proxy_pass https://srobo.github.io/website/missing/; + proxy_pass https://srobo.github.io/website/404.html; } location @error_fallback {