Ver Fonte

[Nginx] Fix nginx config for API docs

ntimo há 6 anos atrás
pai
commit
7c43e2e120
1 ficheiros alterados com 1 adições e 1 exclusões
  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/(.*)$ {