Files
huike-front/container/nginx.conf
T

18 lines
308 B
Nginx Configuration File
Raw Permalink Normal View History

server {
listen 8010;
server_name localhost;
root /home/nginx/website;
index index.html;
location /ws/ {
proxy_pass http://htyws:WS_PORT;
}
location /uc/ {
proxy_pass http://htyuc:UC_PORT;
}
location / {
try_files $uri $uri/ /index.html;
}
}