SkyeYoung commented on code in PR #3178: URL: https://github.com/apache/apisix-dashboard/pull/3178#discussion_r2281065054
########## e2e/server/nginx.conf: ########## @@ -19,13 +19,13 @@ server { listen 6174; location /ui { - rewrite ^/ui$ /ui/ permanent; + rewrite ^/ui$ /ui/ permanent; } location /ui/ { alias /usr/share/nginx/html/; - index index.html; - try_files $uri $uri/ /ui/index.html; + gzip_static always; + error_page 404 /ui/index.html; Review Comment: > Curious why changing this line? I would prefer using `try_files`, which is also documented in React and Vue document sites 😁 Because `try_files` doesn't work as expected. And this is actually a dev server. There are other configurations in APISIX. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org