Index: modules/web/templates/adblockplus.org.conf.erb |
=================================================================== |
--- a/modules/web/templates/adblockplus.org.conf.erb |
+++ b/modules/web/templates/adblockplus.org.conf.erb |
@@ -299,13 +299,9 @@ |
{ |
try_files $uri @proxied; |
} |
-location /jsdoc |
+location ~ ^/(docs|jsdoc)($|/) |
{ |
- try_files $uri @proxied; |
-} |
-location /docs |
-{ |
- try_files $uri @proxied; |
+ root /var/www/docs; |
} |
location /403.html |
{ |