mirror of
https://codeberg.org/pronounscc/pronouns.cc.git
synced 2024-11-20 10:19:51 +01:00
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