Преглед изворни кода

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

ntimo пре 6 година
родитељ
комит
6ab1304579
1 измењених фајлова са 1 додато и 1 уклоњено
  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;
   }