新增正式機 Nginx Proxy 設定檔
All checks were successful
Koori-ERP-Deploy-System / deploy-demo (push) Successful in 48s
Koori-ERP-Deploy-System / deploy-production (push) Has been skipped

This commit is contained in:
2026-01-21 13:34:10 +08:00
parent db49f417df
commit 8215b42e43

15
nginx/prod-proxy.conf Normal file
View File

@@ -0,0 +1,15 @@
# 正式環境 (Production) - 端口 80
# 外部 SSL 終止後(如 Cloudflare/NPM轉發至此端口
server {
listen 80;
server_name erp.koori.tw;
location / {
proxy_pass http://star-erp-laravel: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;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-Host $host;
}
}