Explorar el Código

[Nginx] Fix nginx config for API docs

ntimo hace 6 años
padre
commit
7c43e2e120
Se han modificado 1 ficheros con 1 adiciones y 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/(.*)$ {