Browse Source

[Nginx] Make api docs browsable using /api and /api/ uri

ntimo 6 years ago
parent
commit
6ab1304579
1 changed files with 1 additions and 1 deletions
  1. 1 1
      data/conf/nginx/site.conf

+ 1 - 1
data/conf/nginx/site.conf

@@ -76,7 +76,7 @@ server {
     rewrite ^(.*)$ $1.php last;
   }
 
-  location /api/ {
+  location /api {
     try_files /_apidocs.html =404;
   }