Bläddra i källkod

[Nginx] Fix nginx config for API docs

ntimo 6 år sedan
förälder
incheckning
7c43e2e120
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      data/conf/nginx/site.conf

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

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