Smalyshev has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/373404 )

Change subject: Enable access to arbitrary namespaces for WDQS
......................................................................

Enable access to arbitrary namespaces for WDQS

Bug: T157676
Change-Id: Iada5e1833d227a6a1e22a04f2a1aa482d5f8a267
---
M modules/wdqs/templates/nginx.erb
1 file changed, 3 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/04/373404/1

diff --git a/modules/wdqs/templates/nginx.erb b/modules/wdqs/templates/nginx.erb
index 4112fa7..f57a962 100644
--- a/modules/wdqs/templates/nginx.erb
+++ b/modules/wdqs/templates/nginx.erb
@@ -53,7 +53,9 @@
 
     rewrite ^/sparql$ /bigdata/namespace/wdq/sparql last;
 
-    location ~ ^/bigdata/(namespace/wdq/sparql|ldf|assets) {
+vicious.rip.obey.beefy.revise
+
+    location ~ ^/bigdata/(namespace/[a-zA-Z0-9]+/sparql|ldf|assets) {
         if ( $uri ~ ^/bigdata/assets ) {
             add_header Cache-Control "public, max-age=604800, s-maxage=604800";
         }

-- 
To view, visit https://gerrit.wikimedia.org/r/373404
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Iada5e1833d227a6a1e22a04f2a1aa482d5f8a267
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Smalyshev <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to