Преглед изворни кода

[Nginx] Fix nginx config for API docs

ntimo пре 6 година
родитељ
комит
7c43e2e120
1 измењених фајлова са 1 додато и 1 уклоњено
  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/(.*)$ {