add site.conf

This commit is contained in:
Francis 2021-09-23 19:44:32 +02:00
parent bb47b9101d
commit 52de06ae18
No known key found for this signature in database
GPG Key ID: 071BEA4C2B10077C
1 changed files with 12 additions and 0 deletions

12
site.conf Normal file
View File

@ -0,0 +1,12 @@
server {
listen 80;
location /api {
rewrite /api/(.*) /$1 break;
proxy_pass http://localhost:8080;
}
location / {
root /var/www/html
}
}