diff --git a/site.conf b/site.conf new file mode 100644 index 0000000..c1fa69d --- /dev/null +++ b/site.conf @@ -0,0 +1,12 @@ +server { + listen 80; + + location /api { + rewrite /api/(.*) /$1 break; + proxy_pass http://localhost:8080; + } + + location / { + root /var/www/html + } +}