[Nginx] Make api docs browsable using /api and /api/ uri
parent
52b75aef89
commit
6ab1304579
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue