3.0.0 #220
@@ -5,8 +5,12 @@ server {
|
||||
root /usr/share/nginx/html;
|
||||
index index.html;
|
||||
|
||||
location = /docs {
|
||||
return 301 /docs/;
|
||||
}
|
||||
|
||||
location / {
|
||||
try_files $uri $uri/ /docs/index.html;
|
||||
try_files $uri $uri/ /docs/index.html /index.html;
|
||||
}
|
||||
|
||||
location ~* \.(?:css|js|map|jpg|jpeg|gif|png|svg|ico|webp|woff2?)$ {
|
||||
|
||||
Reference in New Issue
Block a user