We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug When visiting /room/test in the Docker container, the nginx does return a 404.
/room/test
To Reproduce Steps to reproduce the behavior:
Expected behavior The index.html is returned, so that Vue router can show the correct view.
index.html
The text was updated successfully, but these errors were encountered:
I was able to fix this like so:
# /etc/nginx/conf.d/default.conf server { listen 80; server_name localhost; #access_log /var/log/nginx/host.access.log main; + root /usr/share/nginx/html; + index index.html index.htm; location / { - root /usr/share/nginx/html; - index index.html index.htm; + try_files $uri $uri/ /index.html; }
Sorry, something went wrong.
Did you make this a permanent change by mounting the file to the path? I'm facing the same issue.
I did precisely that, and it worked. Thanks!
Successfully merging a pull request may close this issue.
Describe the bug
When visiting
/room/test
in the Docker container, the nginx does return a 404.To Reproduce
Steps to reproduce the behavior:
Expected behavior
The
index.html
is returned, so that Vue router can show the correct view.The text was updated successfully, but these errors were encountered: