mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 12:40:40 +08:00
updated NGINX sample configuration
This commit is contained in:
parent
e397c14702
commit
71c33086b4
|
@ -30,12 +30,6 @@ server {
|
|||
# }
|
||||
#}
|
||||
|
||||
location ~ ^/t\/[0-9]+\/[0-9]+\/avatar {
|
||||
expires 1d;
|
||||
add_header Cache-Control public;
|
||||
add_header ETag "";
|
||||
}
|
||||
|
||||
location ~ ^/(assets|uploads)/ {
|
||||
expires 1y;
|
||||
add_header Cache-Control public;
|
||||
|
|
Loading…
Reference in New Issue
Block a user