fix: 解決 Demo 環境埠號衝突並新增中央後台網域支援
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
services:
|
||||
proxy:
|
||||
ports:
|
||||
- '80:80'
|
||||
- '8080:8080'
|
||||
- '8080:80'
|
||||
volumes:
|
||||
- './nginx/demo-proxy.conf:/etc/nginx/conf.d/default.conf:ro'
|
||||
|
||||
@@ -9,7 +9,7 @@ map $http_x_forwarded_proto $proxy_x_forwarded_proto {
|
||||
|
||||
server {
|
||||
listen 80;
|
||||
server_name demo-erp.taiwan-star.com.tw;
|
||||
server_name demo-erp.taiwan-star.com.tw demo-adminerp.taiwan-star.com.tw;
|
||||
|
||||
location / {
|
||||
proxy_pass http://star-erp-laravel:8080;
|
||||
|
||||
Reference in New Issue
Block a user