mirror of
https://github.com/zhigang1992/docsify.git
synced 2026-03-26 10:14:32 +08:00
Fix VPS -> nginx deployment tips (#581)
`alias` field should be end with '/' in nginx.conf. Or nginx server doesn't work.
This commit is contained in:
@@ -68,7 +68,7 @@ server {
|
||||
server_name your.domain.com;
|
||||
|
||||
location / {
|
||||
alias /path/to/dir/of/docs;
|
||||
alias /path/to/dir/of/docs/;
|
||||
index index.html;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user