diff --git a/config/nginx.sample.conf b/config/nginx.sample.conf index 5e436fcf24c..7daa8a37524 100644 --- a/config/nginx.sample.conf +++ b/config/nginx.sample.conf @@ -90,6 +90,13 @@ server { add_header Access-Control-Allow-Origin *; } + location = /srv/status { + access_log off; + log_not_found off; + proxy_pass http://discourse; + break; + } + location ~ ^/assets/ { expires 1y; # asset pipeline enables this