From 6ab1304579a09ceed3dffb20dee403845008a59a Mon Sep 17 00:00:00 2001 From: ntimo Date: Thu, 3 Oct 2019 11:27:44 +0200 Subject: [PATCH] [Nginx] Make api docs browsable using /api and /api/ uri --- data/conf/nginx/site.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/conf/nginx/site.conf b/data/conf/nginx/site.conf index 47ac4577..d55595f7 100644 --- a/data/conf/nginx/site.conf +++ b/data/conf/nginx/site.conf @@ -76,7 +76,7 @@ server { rewrite ^(.*)$ $1.php last; } - location /api/ { + location /api { try_files /_apidocs.html =404; }