Gehel has submitted this change and it was merged. (
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, 1 insertion(+), 1 deletion(-)
Approvals:
jenkins-bot: Verified
Gehel: Looks good to me, approved
diff --git a/modules/wdqs/templates/nginx.erb b/modules/wdqs/templates/nginx.erb
index 06e9b66..3100ad9 100644
--- a/modules/wdqs/templates/nginx.erb
+++ b/modules/wdqs/templates/nginx.erb
@@ -53,7 +53,7 @@
rewrite ^/sparql$ /bigdata/namespace/wdq/sparql last;
- location ~ ^/bigdata/(namespace/wdq/sparql|ldf|assets) {
+ 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: merged
Gerrit-Change-Id: Iada5e1833d227a6a1e22a04f2a1aa482d5f8a267
Gerrit-PatchSet: 3
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Smalyshev <[email protected]>
Gerrit-Reviewer: Gehel <[email protected]>
Gerrit-Reviewer: Smalyshev <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits