Skip to content

Commit

Permalink
Refs #13431 - Apache changes for pulp 2.8
Browse files Browse the repository at this point in the history
Includes updates for pulp.conf
  • Loading branch information
parthaa committed Jan 28, 2016
1 parent 1a8aff9 commit c8dd585
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions templates/pulp.conf.erb
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,19 @@ SSLInsecureRenegotiation on

WSGIProcessGroup pulp
WSGIApplicationGroup pulp
WSGIDaemonProcess pulp user=apache group=apache processes=1 threads=8 display-name=%{GROUP}
WSGIDaemonProcess pulp user=apache group=apache processes=3 display-name=%{GROUP}

# DEBUG - uncomment the next 2 lines to enable debugging
#WSGIRestrictStdin Off
#WSGIRestrictStdout Off

WSGISocketPrefix run/wsgi
WSGIScriptAlias /pulp/api /srv/pulp/webservices.wsgi
WSGIImportScript /srv/pulp/webservices.wsgi process-group=pulp application-group=pulp
WSGIScriptAlias /pulp/api /usr/share/pulp/wsgi/webservices.wsgi
WSGIImportScript /usr/share/pulp/wsgi/webservices.wsgi process-group=pulp application-group=pulp

<Directory /usr/share/pulp/wsgi>
Require all granted
</Directory>

<Files webservices.wsgi>
WSGIPassAuthorization On
Expand All @@ -38,6 +42,14 @@ WSGIImportScript /srv/pulp/webservices.wsgi process-group=pulp application-group
SSLVerifyClient optional
</Files>

Alias /pulp/static /var/lib/pulp/static

<Location /pulp/static>
SSLRequireSSL
Options +Indexes
Require all granted
</Location>

<%- if scope.lookupvar('operatingsystem') == 'Fedora' && scope.lookupvar('operatingsystemrelease') == '18' -%>
<Directory /srv/pulp>
Require all granted
Expand Down

0 comments on commit c8dd585

Please sign in to comment.