Explorar o código

[Nginx] Fix nginx config for API docs

ntimo %!s(int64=6) %!d(string=hai) anos
pai
achega
7c43e2e120
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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/(.*)$ {