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

This commit is contained in:
ntimo
2019-10-03 11:27:44 +02:00
parent 52b75aef89
commit 6ab1304579

View File

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