From 2c496421f1e9ba511a20f80b1b14e3344a5db144 Mon Sep 17 00:00:00 2001 From: 0xJacky Date: Sat, 9 Oct 2021 13:56:20 +0800 Subject: [PATCH] Update README.md --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index f5ecc738..3f0313ea 100644 --- a/README.md +++ b/README.md @@ -72,12 +72,12 @@ server { root /path/to/nginx-ui/frontend/dist; - location / { - # First attempt to serve request as file, then - # as directory, then fall back to displaying a 404. - index index.html; - try_files $uri $uri/ /index.html; - } + location / { + # First attempt to serve request as file, then + # as directory, then fall back to displaying a 404. + index index.html; + try_files $uri $uri/ /index.html; + } location /api/ { proxy_set_header Host $host;