Tell odcs frontend to run as apache.
This commit is contained in:
parent
491b57b42c
commit
0892e24d75
3 changed files with 5 additions and 5 deletions
|
@ -31,8 +31,8 @@ fas_client_groups: sysadmin-noc,sysadmin-releng,sysadmin-mbs,sysadmin-veteran
|
||||||
# These are consumed by a task in roles/fedmsg/base/main.yml
|
# These are consumed by a task in roles/fedmsg/base/main.yml
|
||||||
fedmsg_certs:
|
fedmsg_certs:
|
||||||
- service: odcs
|
- service: odcs
|
||||||
owner: fedmsg
|
owner: apache
|
||||||
group: fedmsg
|
group: apache
|
||||||
can_send: []
|
can_send: []
|
||||||
|
|
||||||
odcs_target_dir_url: https://odcs.fedoraproject.org/composes
|
odcs_target_dir_url: https://odcs.fedoraproject.org/composes
|
||||||
|
|
|
@ -31,8 +31,8 @@ fas_client_groups: sysadmin-noc,sysadmin-releng,sysadmin-mbs,sysadmin-veteran
|
||||||
# These are consumed by a task in roles/fedmsg/base/main.yml
|
# These are consumed by a task in roles/fedmsg/base/main.yml
|
||||||
fedmsg_certs:
|
fedmsg_certs:
|
||||||
- service: odcs
|
- service: odcs
|
||||||
owner: fedmsg
|
owner: apache
|
||||||
group: fedmsg
|
group: apache
|
||||||
can_send: []
|
can_send: []
|
||||||
|
|
||||||
odcs_target_dir_url: https://odcs.stg.fedoraproject.org/composes
|
odcs_target_dir_url: https://odcs.stg.fedoraproject.org/composes
|
||||||
|
|
|
@ -5,7 +5,7 @@ RewriteCond %{HTTPS} off
|
||||||
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
|
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
WSGIDaemonProcess odcs user=odcs group=odcs threads=5
|
WSGIDaemonProcess odcs user=apache group=apache processes={{wsgi_procs}} threads={{wsgi_threads}}
|
||||||
WSGIScriptAlias /{{ odcs_endpoint }} /usr/share/odcs/odcs.wsgi
|
WSGIScriptAlias /{{ odcs_endpoint }} /usr/share/odcs/odcs.wsgi
|
||||||
|
|
||||||
{% if env == 'staging' %}
|
{% if env == 'staging' %}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue