init
This commit is contained in:
17
osdict_front/osdict.conf
Normal file
17
osdict_front/osdict.conf
Normal file
@ -0,0 +1,17 @@
|
||||
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;
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user