13 lines
188 B
Plaintext
13 lines
188 B
Plaintext
|
server {
|
||
|
listen 80;
|
||
|
|
||
|
location /api {
|
||
|
rewrite /api/(.*) /$1 break;
|
||
|
proxy_pass http://localhost:8080;
|
||
|
}
|
||
|
|
||
|
location / {
|
||
|
root /var/www/html
|
||
|
}
|
||
|
}
|