Yuvipanda has submitted this change and it was merged.

Change subject: toollabs: Do not rewrite /toolname to / by default
......................................................................


toollabs: Do not rewrite /toolname to / by default

Since this messes with how some tools are currently set up.

Bug: T85362
Change-Id: I2f0b7477ec56cf1b1b6770523490d777216c0243
---
M modules/toollabs/files/tool-uwsgi-python
1 file changed, 0 insertions(+), 2 deletions(-)

Approvals:
  Yuvipanda: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/modules/toollabs/files/tool-uwsgi-python 
b/modules/toollabs/files/tool-uwsgi-python
index a68c6f9..35c30a5 100755
--- a/modules/toollabs/files/tool-uwsgi-python
+++ b/modules/toollabs/files/tool-uwsgi-python
@@ -7,12 +7,10 @@
 args = [
     '/usr/bin/uwsgi',
     '--plugin', 'python',
-    '--plugin', 'router_rewrite',
     '--http-socket', ':' + str(port),
     '--wsgi-file', 'app.py',
     '--chdir', os.path.expanduser('~/www/python/src'),
     '--logto', os.path.expanduser('~/uwsgi.log'),
-    '--route', '/([^/]+)/(.*) rewrite:/$2',
     '--callable', 'app',
     '--die-on-term',
     '--strict',

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I2f0b7477ec56cf1b1b6770523490d777216c0243
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Yuvipanda <[email protected]>
Gerrit-Reviewer: Yuvipanda <[email protected]>
Gerrit-Reviewer: coren <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to