This commit is contained in:
parent
844ee38215
commit
d73178c84d
@ -19,8 +19,8 @@ http {
|
|||||||
listen 80;
|
listen 80;
|
||||||
server_name localhost;
|
server_name localhost;
|
||||||
|
|
||||||
location /video_translate/api/ {
|
location /api/ {
|
||||||
proxy_pass http://127.0.0.1:3000/api/;
|
proxy_pass http://127.0.0.1:3000/video_translate/api/;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Host $host;
|
proxy_set_header Host $host;
|
||||||
proxy_set_header X-Real-IP $remote_addr;
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
@ -30,7 +30,7 @@ http {
|
|||||||
proxy_send_timeout 600s;
|
proxy_send_timeout 600s;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /video_translate/ {
|
location / {
|
||||||
alias /app/dist/;
|
alias /app/dist/;
|
||||||
index index.html;
|
index index.html;
|
||||||
try_files $uri $uri/ /video_translate/index.html;
|
try_files $uri $uri/ /video_translate/index.html;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user