mirror of
https://github.com/discourse/discourse.git
synced 2025-04-27 06:44:32 +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 *;
|
add_header Access-Control-Allow-Origin *;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
location = /srv/status {
|
||||||
|
access_log off;
|
||||||
|
log_not_found off;
|
||||||
|
proxy_pass http://discourse;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
location ~ ^/assets/ {
|
location ~ ^/assets/ {
|
||||||
expires 1y;
|
expires 1y;
|
||||||
# asset pipeline enables this
|
# asset pipeline enables this
|
||||||
|
Loading…
x
Reference in New Issue
Block a user