osdict_project/osdict_front/osdict.conf

18 lines
362 B
Plaintext

server {
listen 80;
#你的域名
server_name 127.0.0.1;
location /api/ {
rewrite /api/(.+)$ /$1 break;
proxy_pass http://192.168.88.100:8000;
}
location / {
root /var/local/web/osdict-front/dist;
index index.html index.htm;
try_files $uri $uri/ /index.html;
}
}