swift/examples/apache2/object-server.template
Shashirekha Gundur f789af6ead display swift services in apache2
$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
2017-03-07 19:23:15 +00:00

26 lines
877 B
Plaintext

# Object 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 6010
# Replace %SERVICENAME% by object-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>