mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2026-07-15 01:06:58 +00:00
[Nginx] Make api docs browsable using /api and /api/ uri
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user