mirror of https://github.com/fantasticit/think.git
chore: update nginx.conf
This commit is contained in:
parent
d7a9f68af4
commit
fccfaa09b7
|
@ -54,6 +54,13 @@ server {
|
|||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection 'upgrade';
|
||||
}
|
||||
|
||||
location /static/ {
|
||||
gzip_static on;
|
||||
expires max;
|
||||
add_header Cache-Control public;
|
||||
alias /apps/think/packages/server/static/;
|
||||
}
|
||||
}
|
||||
|
||||
server {
|
||||
|
|
Loading…
Reference in New Issue