forked from mirrors/pronouns.cc
docs: add fonts cache header to nginx config
This commit is contained in:
parent
bcdcb1e0d5
commit
239c9e240f
1 changed files with 7 additions and 0 deletions
|
@ -64,6 +64,13 @@ server {
|
|||
proxy_pass http://127.0.0.1:9000;
|
||||
}
|
||||
|
||||
location ~ ^/fonts {
|
||||
expires 1y;
|
||||
add_header Cache-Control "public, no-transform";
|
||||
|
||||
proxy_pass http://127.0.0.1:3000;
|
||||
}
|
||||
|
||||
location / {
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection 'upgrade';
|
||||
|
|
Loading…
Reference in a new issue