correect nginx conf for redirs
This commit is contained in:
1 parent
6b88740595
commit
2761456009
1 file changed
+3
-1
@@ -19,7 +19,7 @@ server {
|
|||||||
location / {
|
location / {
|
||||||
root /srv/matescrates;
|
root /srv/matescrates;
|
||||||
index index.html;
|
index index.html;
|
||||||
try_files $uri $uri/ /srv/matescrates/index.html;
|
try_files $uri $uri/ index.html;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /api/ws {
|
location /api/ws {
|
||||||
@@ -37,6 +37,8 @@ server {
|
|||||||
proxy_read_timeout 600s;
|
proxy_read_timeout 600s;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
error_page 404 /;
|
||||||
|
|
||||||
listen [::]:443 ssl ipv6only=on; # managed by Certbot
|
listen [::]:443 ssl ipv6only=on; # managed by Certbot
|
||||||
listen 443 ssl; # managed by Certbot
|
listen 443 ssl; # managed by Certbot
|
||||||
ssl_certificate /etc/letsencrypt/live/matescrates.au/fullchain.pem; # managed by Certbot
|
ssl_certificate /etc/letsencrypt/live/matescrates.au/fullchain.pem; # managed by Certbot
|
||||||
|
|||||||
Reference in new issue
Block a user