You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
409 B
Plaintext
21 lines
409 B
Plaintext
server {
|
|
listen 80;
|
|
server_name cacserver;
|
|
proxy_set_header Upgrade $http_upgrade;
|
|
proxy_set_header Connection "upgrade";
|
|
|
|
location / {
|
|
root /home/xydl/ncac/static;
|
|
index index.html index.htm;
|
|
}
|
|
|
|
location /cac-api/ {
|
|
proxy_pass http://127.0.0.1:8099/;
|
|
}
|
|
|
|
location /data {
|
|
alias /home/xydl/ncac/data;
|
|
autoindex on;
|
|
}
|
|
}
|