Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: modules/web/templates/adblockplus.org.conf.erb

Issue 29336202: Issue 3637 - Generate source code documentation on the web server (Closed)
Patch Set: Fix generation commands Created Feb. 10, 2016, 2:05 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « modules/web/manifests/server.pp ('k') | modules/web/templates/nodesource.gpg.key.erb » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
{
« no previous file with comments | « modules/web/manifests/server.pp ('k') | modules/web/templates/nodesource.gpg.key.erb » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld