diff options
author | Wayne Witzel III <wayne@riotousliving.com> | 2016-10-07 20:41:34 +0200 |
---|---|---|
committer | Wayne Witzel III <wayne@riotousliving.com> | 2016-10-07 20:41:34 +0200 |
commit | e4e878d0414067f8971c407b90f3f62a64204412 (patch) | |
tree | 0bc3da587882bf419bdb957a099a9a3a709f9019 /setup.py | |
parent | removing old apache, renaming nginx config (diff) | |
download | awx-e4e878d0414067f8971c407b90f3f62a64204412.tar.xz awx-e4e878d0414067f8971c407b90f3f62a64204412.zip |
copy nginx config and uwsgi_params
Diffstat (limited to '')
-rwxr-xr-x | setup.py | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -25,14 +25,16 @@ docdir = "/usr/share/doc/ansible-tower" if os.path.exists("/etc/debian_version"): sysinit = "/etc/init.d" - webconfig = "/etc/apache2/conf.d" + webconfig = "/etc/nginx" + siteconfig = "/etc/nginx/sites-enabled" # sosreport-3.1 (and newer) look in '/usr/share/sosreport/sos/plugins' # sosreport-3.0 looks in '/usr/lib/python2.7/dist-packages/sos/plugins' # debian/<package>.links will create symlinks to support both versions sosconfig = "/usr/share/sosreport/sos/plugins" else: sysinit = "/etc/rc.d/init.d" - webconfig = "/etc/httpd/conf.d" + webconfig = "/etc/nginx" + siteconfig = "/etc/nginx/sites-enabled" # The .spec will create symlinks to support multiple versions of sosreport sosconfig = "/usr/share/sosreport/sos/plugins" @@ -114,8 +116,8 @@ setup( data_files = proc_data_files([ ("%s" % homedir, ["config/wsgi.py", "awx/static/favicon.ico"]), - ("%s" % webconfig, ["config/awx-httpd-80.conf", - "config/awx-httpd-443.conf"]), + ("%s" % siteconfig, ["config/awx-nginx.conf"]), + ("%s" % webconfig, ["config/uwsgi_params"]), ("%s" % sharedir, ["tools/scripts/request_tower_configuration.sh","tools/scripts/request_tower_configuration.ps1"]), ("%s" % docdir, ["docs/licenses/*",]), ("%s" % bindir, ["tools/scripts/ansible-tower-service", |