diff --git a/dockerized/first-level-nginx/configs/node.conf b/dockerized/first-level-nginx/configs/node.conf index 909ae83..4f5031c 100644 --- a/dockerized/first-level-nginx/configs/node.conf +++ b/dockerized/first-level-nginx/configs/node.conf @@ -103,15 +103,10 @@ http { } - - #Default Catch-all serving + #Default Catch-all redirects to https server { listen 80 default_server; server_name _; - root /var/www/default; - - location /{ - try_files $uri /$uri /index.html; - } + return 301 https://$host$request_uri; } }