From d13ebdee36c818b4efd5d8a3a1d458503ab7a63b Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Sat, 21 Jul 2018 14:50:53 +0100 Subject: [PATCH] Configure parsoid to use https to access the mediawiki API --- cookbooks/mediawiki/templates/default/parsoid-config.yaml.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cookbooks/mediawiki/templates/default/parsoid-config.yaml.erb b/cookbooks/mediawiki/templates/default/parsoid-config.yaml.erb index 0ffb01330..e0a4e96db 100644 --- a/cookbooks/mediawiki/templates/default/parsoid-config.yaml.erb +++ b/cookbooks/mediawiki/templates/default/parsoid-config.yaml.erb @@ -42,7 +42,7 @@ services: # 'X-Forwarded-Proto': 'https' <% node[:mediawiki][:sites].keys.sort.each do |site_url| -%> - # This is the only required parameter, - uri: 'http://<%= site_url %>/w/api.php' + uri: 'https://<%= site_url %>/w/api.php' <% end -%> # We pre-define wikipedias as 'enwiki', 'dewiki' etc. Similarly -- 2.39.5