Browse Source

Update README.md

0xJacky 3 years ago
parent
commit
2c496421f1
1 changed files with 6 additions and 6 deletions
  1. 6 6
      README.md

+ 6 - 6
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;