31 lines
729 B
Nginx Configuration File
31 lines
729 B
Nginx Configuration File
server {
|
|
listen 8113;
|
|
server_name _; # 匹配所有主机名
|
|
|
|
location / {
|
|
root /WechatOwnerService;
|
|
index index.html index.htm;
|
|
}
|
|
|
|
location /callComponent {
|
|
add_header 'Access-Control-Allow-Origin' '*';
|
|
proxy_pass http://micro-community-web:8111;
|
|
|
|
}
|
|
|
|
location /aba-call-back {
|
|
add_header 'Access-Control-Allow-Origin' '*';
|
|
proxy_pass http://micro-community-web:8111;
|
|
}
|
|
|
|
location /app {
|
|
add_header 'Access-Control-Allow-Origin' '*';
|
|
proxy_pass http://micro-community-web:8111;
|
|
}
|
|
location /h5 {
|
|
add_header 'Access-Control-Allow-Origin' '*';
|
|
proxy_pass http://micro-community-web:8111;
|
|
}
|
|
|
|
}
|