Skip to content

Routing access failure after server Nginx deployment #2837

Closed Answered by Lazydd
Charles7c asked this question in Q&A
Discussion options

You must be logged in to vote

nginx加这个,匹配的路径/docs/改成你的
location /docs/ { index index.html index.htm; try_files $uri $uri.html $uri/ /index.html; }

Replies: 5 comments 14 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@brc-dd
Comment options

Comment options

You must be logged in to vote
7 replies
@Charles7c
Comment options

@Charles7c
Comment options

@qweasdzxcpkh
Comment options

@brc-dd
Comment options

@qweasdzxcpkh
Comment options

Answer selected by Charles7c
Comment options

You must be logged in to vote
6 replies
@meduzen
Comment options

@brc-dd
Comment options

@meduzen
Comment options

@brc-dd
Comment options

@meduzen
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question This is a question rather than an issue or pull request
6 participants
Converted from issue

This discussion was converted from issue #2802 on August 23, 2023 09:20.