diff --git a/nginx.conf b/nginx.conf index 67f289e..7100d02 100644 --- a/nginx.conf +++ b/nginx.conf @@ -2,6 +2,10 @@ server { listen 80; server_name localhost; + location = / { + return 301 /serial/; + } + location /serial/ { alias /usr/share/nginx/html/serial/; try_files $uri $uri/ /serial/index.html;