f789af6ead
$sudo service apache2 status ; was not listing swift-service names correctly; with this change this is the output we see http://paste.openstack.org/show/601822/ Change-Id: I11b17bcf8c206afaed51bd27090cdf3108f7aee2 Closes-Bug: #1665156
28 lines
939 B
Plaintext
28 lines
939 B
Plaintext
# Proxy 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 8080
|
|
# Replace %SERVICENAME% by proxy-server
|
|
# Replace %USER% with apache (or remove it for default)
|
|
|
|
NameVirtualHost *:%PORT%
|
|
Listen %PORT%
|
|
|
|
<VirtualHost *:%PORT%>
|
|
# The limit of an object size
|
|
LimitRequestBody 5368709122
|
|
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>
|