mirror of
https://github.com/discourse/discourse.git
synced 2025-04-26 10:24:30 +08:00
Don't log /srv/status
This commit is contained in:
parent
023ea6c752
commit
cf3aa867ab
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user