mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2025-05-11 02:15:48 +02:00
Update README.md
This commit is contained in:
parent
51b80d1f83
commit
2c496421f1
1 changed files with 6 additions and 6 deletions
12
README.md
12
README.md
|
@ -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;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue