cache cdn assets and strip cookies
This commit is contained in:
parent
7038d5f1c4
commit
18abf4f0d6
|
@ -180,7 +180,7 @@ server {
|
|||
# This big block is needed so we can selectively enable
|
||||
# acceleration for backups and avatars
|
||||
# see note about repetition above
|
||||
location ~ ^/(letter_avatar/|user_avatar|highlight-js|stylesheets|favicon/proxied) {
|
||||
location ~ ^/(cdn_asset/|letter_avatar/|user_avatar|highlight-js|stylesheets|favicon/proxied) {
|
||||
proxy_set_header Host $http_host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
|
|
Loading…
Reference in New Issue