nginx now statically serves cantropee-frontend

This commit is contained in:
2023-11-04 19:09:41 +01:00
parent 0c79851b23
commit 54ebc211be
3 changed files with 7 additions and 2 deletions
+5
View File
@@ -22,6 +22,11 @@ server {
ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem;
location / {
root /usr/share/nginx/html/cantropee;
gzip_static on;
}
location /api {
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;