nginx now statically serves cantropee-frontend
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
@@ -47,6 +47,6 @@ server {
|
||||
proxy_pass http://trilium:8080/;
|
||||
}
|
||||
location /panorama {
|
||||
root /usr/share/nginx/html;
|
||||
root /usr/share/nginx/html/lobby-web;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user