314347a3cb
Note that existing SAIOs with 60xx ports should still work fine. Change-Id: If5dd79f926fa51a58b3a732b212b484a7e9f00db Related-Change: Ie1c778b159792c8e259e2a54cb86051686ac9d18
26 lines
883 B
Plaintext
26 lines
883 B
Plaintext
# Container Server VHOST Template For Apache2
|
|
#
|
|
# Change %PORT% to the port that you wish to use on your system
|
|
# Change %SERVICENAME% to the service name you are using
|
|
# Change %USER% to the system user that will run the daemon process
|
|
# Change the debug level as you see fit
|
|
#
|
|
# For example:
|
|
# Replace %PORT% by 6211
|
|
# Replace %SERVICENAME% by container-server-1
|
|
# Replace %USER% with apache (or remove it for default)
|
|
|
|
NameVirtualHost *:%PORT%
|
|
Listen %PORT%
|
|
|
|
<VirtualHost *:%PORT%>
|
|
WSGIDaemonProcess %SERVICENAME% processes=5 threads=1 user=%USER% display-name=%{GROUP}
|
|
WSGIProcessGroup %SERVICENAME%
|
|
WSGIScriptAlias / /var/www/swift/%SERVICENAME%.wsgi
|
|
WSGIApplicationGroup %{GLOBAL}
|
|
LimitRequestFields 200
|
|
ErrorLog /var/log/%APACHE_NAME%/%SERVICENAME%
|
|
LogLevel debug
|
|
CustomLog /var/log/%APACHE_NAME%/access.log combined
|
|
</VirtualHost>
|