Files
PropertyDeployment/resources/Web/MicroCommunityWeb/nginx.conf
2025-12-09 20:22:03 +08:00

30 lines
767 B
Nginx Configuration File

server {
listen 8111;
server_name _; # 匹配所有主机名
location / {
root /MicroCommunityWeb;
}
location /callComponent {
add_header 'Access-Control-Allow-Origin' '*';
proxy_pass http://micro-community-boot:8008;
}
location /app {
add_header 'Access-Control-Allow-Origin' '*';
proxy_pass http://micro-community-boot:8008;
}
location /aba-call-back {
add_header 'Access-Control-Allow-Origin' '*';
proxy_pass http://micro-community-boot:8008;
}
location /ws {
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_pass http://micro-community-boot:8008;
}
}