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

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
}
}