mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2026-01-26 07:07:14 +00:00
Merge pull request #2999 from ntimo/task/api-docs
[Nginx] Fix nginx config for API docs
This commit is contained in:
@@ -76,6 +76,10 @@ server {
|
||||
rewrite ^(.*)$ $1.php last;
|
||||
}
|
||||
|
||||
location /api {
|
||||
try_files /_apidocs.html =404;
|
||||
}
|
||||
|
||||
location ~ ^/api/v1/(.*)$ {
|
||||
try_files $uri $uri/ /json_api.php?query=$1;
|
||||
}
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user