Browse Source

[Nginx] Fix nginx config for API docs

ntimo 6 years ago
parent
commit
7c43e2e120
1 changed files with 1 additions and 1 deletions
  1. 1 1
      data/conf/nginx/site.conf

+ 1 - 1
data/conf/nginx/site.conf

@@ -77,7 +77,7 @@ server {
   }
   }
 
 
   location /api/ {
   location /api/ {
-    try_files /_apidocs.html;
+    try_files /_apidocs.html =404;
   }
   }
 
 
   location ~ ^/api/v1/(.*)$ {
   location ~ ^/api/v1/(.*)$ {