]> git.openstreetmap.org Git - chef.git/commitdiff
Configure parsoid to use https to access the mediawiki API
authorTom Hughes <tom@compton.nu>
Sat, 21 Jul 2018 13:50:53 +0000 (14:50 +0100)
committerTom Hughes <tom@compton.nu>
Sat, 21 Jul 2018 13:50:53 +0000 (14:50 +0100)
cookbooks/mediawiki/templates/default/parsoid-config.yaml.erb

index 0ffb01330e5e88300ff5996c61696082bc1b72b0..e0a4e96db93aa8e47355978ba26c6d17e951594b 100644 (file)
@@ -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