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.
23 lines
514 B
Plaintext
23 lines
514 B
Plaintext
server {
|
|
listen 443 ssl;
|
|
server_name cacserver;
|
|
proxy_set_header Upgrade $http_upgrade;
|
|
proxy_set_header Connection "upgrade";
|
|
ssl_certificate /home/xydl/cert/ca.cert;
|
|
ssl_certificate_key /home/xydl/cert/ca.prikey;
|
|
|
|
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;
|
|
}
|
|
}
|