From 13cf19b4667d21c66a4b7b7db745389308d622e0 Mon Sep 17 00:00:00 2001 From: Arthur Lu Date: Wed, 26 Apr 2023 19:58:44 +0000 Subject: [PATCH] add proxy intercept errors to nginx config --- nginx.conf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nginx.conf b/nginx.conf index a96a09c..00c1098 100644 --- a/nginx.conf +++ b/nginx.conf @@ -23,5 +23,7 @@ http { gzip_http_version 1.1; gzip_types text/plain text/css application/json application/javascript text/xml application/xml application/xml+rss text/javascript; + proxy_intercept_errors on; + include /etc/nginx/sites/*; }