Update README.md

This commit is contained in:
0xJacky 2021-10-09 13:56:20 +08:00
parent 51b80d1f83
commit 2c496421f1

View file

@ -72,12 +72,12 @@ server {
root /path/to/nginx-ui/frontend/dist; root /path/to/nginx-ui/frontend/dist;
location / { location / {
# First attempt to serve request as file, then # First attempt to serve request as file, then
# as directory, then fall back to displaying a 404. # as directory, then fall back to displaying a 404.
index index.html; index index.html;
try_files $uri $uri/ /index.html; try_files $uri $uri/ /index.html;
} }
location /api/ { location /api/ {
proxy_set_header Host $host; proxy_set_header Host $host;