correect nginx conf for redirs

This commit is contained in:
ntr committed 2022-09-19 19:56:26 +10:00
1 parent 6b88740595
commit 2761456009
1 file changed
+3 -1
+3 -1
View File
@@ -19,7 +19,7 @@ server {
location / {
root /srv/matescrates;
index index.html;
try_files $uri $uri/ /srv/matescrates/index.html;
try_files $uri $uri/ index.html;
}
location /api/ws {
@@ -37,6 +37,8 @@ server {
proxy_read_timeout 600s;
}
error_page 404 /;
listen [::]:443 ssl ipv6only=on; # managed by Certbot
listen 443 ssl; # managed by Certbot
ssl_certificate /etc/letsencrypt/live/matescrates.au/fullchain.pem; # managed by Certbot