Yuvipanda has uploaded a new change for review.
https://gerrit.wikimedia.org/r/182053
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(-)
git pull ssh://gerrit.wikimedia.org:29418/operations/puppet
refs/changes/53/182053/1
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: newchange
Gerrit-Change-Id: I2f0b7477ec56cf1b1b6770523490d777216c0243
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Yuvipanda <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits