diff --git a/deploy/prod-node/nginx/nginx.conf b/deploy/prod-node/nginx/nginx.conf index 1d633a7ac9..b14290fc8b 100644 --- a/deploy/prod-node/nginx/nginx.conf +++ b/deploy/prod-node/nginx/nginx.conf @@ -16,6 +16,19 @@ http { } } + server { + listen 443 ssl http2; + + server_name www.open-assistant.io; + + ssl_certificate /etc/nginx/ssl/live/www.open-assistant.io/fullchain.pem; + ssl_certificate_key /etc/nginx/ssl/live/www.open-assistant.io/privkey.pem; + + location / { + return 301 https://open-assistant.io$request_uri; + } + } + server { listen 443 ssl http2;