Andrew Bogott has uploaded a new change for review.
https://gerrit.wikimedia.org/r/97464
Change subject: Move the proxy API to a port 5668
......................................................................
Move the proxy API to a port 5668
Change-Id: I0a738cb53b66e2fe579222d50df96335cf4a24e5
---
M modules/dynamicproxy/templates/proxy.conf
1 file changed, 13 insertions(+), 7 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/operations/puppet
refs/changes/64/97464/1
diff --git a/modules/dynamicproxy/templates/proxy.conf
b/modules/dynamicproxy/templates/proxy.conf
index 9f0bcd0..cd12c72 100644
--- a/modules/dynamicproxy/templates/proxy.conf
+++ b/modules/dynamicproxy/templates/proxy.conf
@@ -5,6 +5,19 @@
'' close;
}
+# Run the proxy api on port 5668; a firewall rule
+# will open this only for wikitech.
+server {
+ listen 5668;
+
+ location /dynamicproxy-api {
+ include uwsgi_params;
+ uwsgi_pass unix:///tmp/uwsgi.sock;
+ uwsgi_param SCRIPT_NAME /dynamicproxy-api;
+ uwsgi_modifier1 30;
+ }
+}
+
server {
resolver 10.4.0.1;
@@ -34,13 +47,6 @@
# for a long time. While ideally they should be made async, this
# is an interim solution that works for now.
proxy_read_timeout 600s;
-
- location /dynamicproxy-api {
- include uwsgi_params;
- uwsgi_pass unix:///tmp/uwsgi.sock;
- uwsgi_param SCRIPT_NAME /dynamicproxy-api;
- uwsgi_modifier1 30;
- }
location / {
set $backend '';
--
To view, visit https://gerrit.wikimedia.org/r/97464
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I0a738cb53b66e2fe579222d50df96335cf4a24e5
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Andrew Bogott <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits