Dzahn has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/204661

Change subject: dumps::zim: fix nginx listening port and docroot
......................................................................

dumps::zim: fix nginx listening port and docroot

- with the previous setting nginx would not listen on 10.64.32.168
  but we want it to so dataset1001 can proxy to it

- the docroot being /srv/www/htmldumps we would try to get 
./htmldumps/htmldumps/
  when accessing http://dumps.wikimedia.org/htmldumps/ so that was a 404

Bug:T94457
Change-Id: I5380f9b5a70a2a5032d568cfc73f914cc7b07c66
---
M modules/dumps/templates/nginx.zim.conf.erb
1 file changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/61/204661/1

diff --git a/modules/dumps/templates/nginx.zim.conf.erb 
b/modules/dumps/templates/nginx.zim.conf.erb
index a66a8c0..5e18722 100644
--- a/modules/dumps/templates/nginx.zim.conf.erb
+++ b/modules/dumps/templates/nginx.zim.conf.erb
@@ -1,10 +1,10 @@
 limit_conn_zone $binary_remote_addr zone=addr:10m;
 
 server {
-   listen [::]:80 default;
+   listen 80;
    server_name francium.eqiad.wmnet;
 
-   root /srv/www/htmldumps;
+   root /srv/www;
 
    location / {
       index index.html index.htm;

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I5380f9b5a70a2a5032d568cfc73f914cc7b07c66
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Dzahn <dz...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to