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.
29 lines
578 B
Plaintext
29 lines
578 B
Plaintext
server {
|
|
listen 90;
|
|
server_name localhost;
|
|
add_header 'Access-Control-Allow-Origin' '*';
|
|
add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS';
|
|
|
|
location / {
|
|
root /home/xydl/jkpg/static;
|
|
index index.html;
|
|
}
|
|
|
|
location /jkpg-api/ {
|
|
proxy_pass http://127.0.0.1:8080/;
|
|
}
|
|
|
|
location /data/sftp/picbak {
|
|
root /;
|
|
index index.html index.htm;
|
|
}
|
|
|
|
location /api/sysLoginRemoteController/login {
|
|
proxy_pass http://192.168.50.200:8080/sysLoginRemoteController/login;
|
|
}
|
|
|
|
location /api/modelFile/ {
|
|
proxy_pass http://192.168.50.200:8022/;
|
|
}
|
|
}
|