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