diff --git a/nginx.conf b/nginx.conf index e94b9bb..0118146 100644 --- a/nginx.conf +++ b/nginx.conf @@ -17,11 +17,10 @@ http { server { listen 80; server_name localhost; - # location = /scriptflow { - # return 301 /scriptflow/; - # } - location ^~ /scriptflow/ { - rewrite ^/scriptflow/(.*)$ /$1 break; + location = /scriptflow { + return 301 /scriptflow/; + } + location /scriptflow/ { root /app; index index.html;