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:
parent
f7274e141f
commit
a923121be8
1 changed files with 1 additions and 1 deletions
|
|
@ -68,7 +68,7 @@ server {
|
||||||
server_name your.domain.com;
|
server_name your.domain.com;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
alias /path/to/dir/of/docs;
|
alias /path/to/dir/of/docs/;
|
||||||
index index.html;
|
index index.html;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue