fix timezone bug
This commit is contained in:
@@ -8,7 +8,7 @@ server {
|
||||
|
||||
# 應用程式代理
|
||||
location / {
|
||||
proxy_pass http://app:5000;
|
||||
proxy_pass http://panjit-tempspec-app:5000;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
@@ -27,7 +27,7 @@ server {
|
||||
|
||||
# ONLYOFFICE Document Server 代理
|
||||
location /onlyoffice/ {
|
||||
proxy_pass http://onlyoffice:80/;
|
||||
proxy_pass http://panjit-tempspec-onlyoffice:80/;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
@@ -46,14 +46,14 @@ server {
|
||||
|
||||
# 靜態檔案快取
|
||||
location /static/ {
|
||||
proxy_pass http://app:5000/static/;
|
||||
proxy_pass http://panjit-tempspec-app:5000/static/;
|
||||
expires 1y;
|
||||
add_header Cache-Control "public, immutable";
|
||||
}
|
||||
|
||||
# 健康檢查
|
||||
location /health {
|
||||
proxy_pass http://app:5000/;
|
||||
proxy_pass http://panjit-tempspec-app:5000/;
|
||||
access_log off;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user