1
0
mirror of https://github.com/ansible/awx.git synced 2024-10-28 10:55:30 +03:00

Allow for overriding UWSGI mount path

This is just one piece of the puzzle as I try to add support for URL prefixing.
This commit is contained in:
Shane McDonald 2021-11-13 02:47:26 +00:00
parent 4ded4afb7d
commit 9e8c40598c

View File

@ -5,7 +5,15 @@ master = true
vacuum = true
no-orphans = true
lazy-apps = true
manage-script-name = true
master-fifo = /var/lib/awx/awxfifo
max-requests = 1000
buffer-size = 32768
module = awx.wsgi:application
if-env = UWSGI_MOUNT_PATH
mount = %(_)=awx.wsgi:application
endif =
if-not-env = UWSGI_MOUNT_PATH
mount = /=awx.wsgi:application
endif =