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

master
ntimo 2019-10-03 11:27:44 +02:00
parent 52b75aef89
commit 6ab1304579
No known key found for this signature in database
GPG Key ID: 3AF3627FB0440D55
1 changed files with 1 additions and 1 deletions

View File

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