fix docker and force redirect to https

This commit is contained in:
schlagmichdoch 2023-01-17 10:23:19 +01:00
parent 2671aa128f
commit 6707021e04
3 changed files with 5 additions and 39 deletions

View file

@ -4,15 +4,7 @@ server {
expires epoch;
location / {
root /usr/share/nginx/html;
index index.html index.htm;
}
location /server {
proxy_connect_timeout 300;
proxy_pass http://node:3000;
proxy_set_header Connection "upgrade";
proxy_set_header Upgrade $http_upgrade;
return 301 https://$host:8443$request_uri;
}
location /ca.crt {