add site.conf
This commit is contained in:
parent
bb47b9101d
commit
52de06ae18
1 changed files with 12 additions and 0 deletions
12
site.conf
Normal file
12
site.conf
Normal file
|
@ -0,0 +1,12 @@
|
|||
server {
|
||||
listen 80;
|
||||
|
||||
location /api {
|
||||
rewrite /api/(.*) /$1 break;
|
||||
proxy_pass http://localhost:8080;
|
||||
}
|
||||
|
||||
location / {
|
||||
root /var/www/html
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue