Forked from smerritt/_etc_apache2_conf.d_swift_wsgi.conf
Created
March 7, 2013 08:56
-
-
Save chmouel/5106576 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Proxy | |
NameVirtualHost *:8080 | |
Listen 8080 | |
<VirtualHost *:8080> | |
ServerName proxy-server | |
LimitRequestBody 5368709122 | |
WSGIDaemonProcess proxy-server processes=5 threads=1 | |
WSGIProcessGroup proxy-server | |
WSGIScriptAlias / /var/www/swift/proxy-server.wsgi | |
LimitRequestFields 200 | |
ErrorLog /var/log/apache2/proxy-server | |
LogLevel debug | |
CustomLog /var/log/apache2/proxy.log combined | |
</VirtualHost> | |
# Object Service 1 | |
NameVirtualHost *:6010 | |
Listen 6010 | |
<VirtualHost *:6010> | |
ServerName object-server-1 | |
WSGIDaemonProcess object-server-1 processes=5 threads=1 | |
WSGIProcessGroup object-server-1 | |
WSGIScriptAlias / /var/www/swift/object-server-1.wsgi | |
LimitRequestFields 200 | |
ErrorLog /var/log/apache2/object-server-1 | |
LogLevel debug | |
CustomLog /var/log/apache2/access.log combined | |
</VirtualHost> | |
# Object Service 2 | |
NameVirtualHost *:6020 | |
Listen 6020 | |
<VirtualHost *:6020> | |
ServerName object-server-1 | |
WSGIDaemonProcess object-server-2 processes=5 threads=1 | |
WSGIProcessGroup object-server-2 | |
WSGIScriptAlias / /var/www/swift/object-server-2.wsgi | |
LimitRequestFields 200 | |
ErrorLog /var/log/apache2/object-server-2 | |
LogLevel debug | |
CustomLog /var/log/apache2/access.log combined | |
</VirtualHost> | |
# Object Service 3 | |
NameVirtualHost *:6030 | |
Listen 6030 | |
<VirtualHost *:6030> | |
ServerName object-server-3 | |
WSGIDaemonProcess object-server-3 processes=5 threads=1 | |
WSGIProcessGroup object-server-3 | |
WSGIScriptAlias / /var/www/swift/object-server-3.wsgi | |
LimitRequestFields 200 | |
ErrorLog /var/log/apache2/object-server-3 | |
LogLevel debug | |
CustomLog /var/log/apache2/access.log combined | |
</VirtualHost> | |
# Object Service 4 | |
NameVirtualHost *:6040 | |
Listen 6040 | |
<VirtualHost *:6040> | |
ServerName object-server-4 | |
WSGIDaemonProcess object-server-4 processes=5 threads=1 | |
WSGIProcessGroup object-server-4 | |
WSGIScriptAlias / /var/www/swift/object-server-4.wsgi | |
LimitRequestFields 200 | |
ErrorLog /var/log/apache2/object-server-4 | |
LogLevel debug | |
CustomLog /var/log/apache2/access.log combined | |
</VirtualHost> | |
# Container Service 1 | |
NameVirtualHost *:6011 | |
Listen 6011 | |
<VirtualHost *:6011> | |
ServerName container-server-1 | |
WSGIDaemonProcess container-server-1 processes=5 threads=1 | |
WSGIProcessGroup container-server-1 | |
WSGIScriptAlias / /var/www/swift/container-server-1.wsgi | |
LimitRequestFields 200 | |
ErrorLog /var/log/apache2/container-server-1 | |
LogLevel debug | |
CustomLog /var/log/apache2/access.log combined | |
</VirtualHost> | |
# Container Service 2 | |
NameVirtualHost *:6021 | |
Listen 6021 | |
<VirtualHost *:6021> | |
ServerName container-server-2 | |
WSGIDaemonProcess container-server-2 processes=5 threads=1 | |
WSGIProcessGroup container-server-2 | |
WSGIScriptAlias / /var/www/swift/container-server-2.wsgi | |
LimitRequestFields 200 | |
ErrorLog /var/log/apache2/container-server-2 | |
LogLevel debug | |
CustomLog /var/log/apache2/access.log combined | |
</VirtualHost> | |
# Container Service 3 | |
NameVirtualHost *:6031 | |
Listen 6031 | |
<VirtualHost *:6031> | |
ServerName container-server-3 | |
WSGIDaemonProcess container-server-3 processes=5 threads=1 | |
WSGIProcessGroup container-server-3 | |
WSGIScriptAlias / /var/www/swift/container-server-3.wsgi | |
LimitRequestFields 200 | |
ErrorLog /var/log/apache2/container-server-3 | |
LogLevel debug | |
CustomLog /var/log/apache2/access.log combined | |
</VirtualHost> | |
# Container Service 4 | |
NameVirtualHost *:6041 | |
Listen 6041 | |
<VirtualHost *:6041> | |
ServerName container-server-4 | |
WSGIDaemonProcess container-server-4 processes=5 threads=1 | |
WSGIProcessGroup container-server-4 | |
WSGIScriptAlias / /var/www/swift/container-server-4.wsgi | |
LimitRequestFields 200 | |
ErrorLog /var/log/apache2/container-server-4 | |
LogLevel debug | |
CustomLog /var/log/apache2/access.log combined | |
</VirtualHost> | |
# Account Service 1 | |
NameVirtualHost *:6012 | |
Listen 6012 | |
<VirtualHost *:6012> | |
ServerName account-server | |
WSGIDaemonProcess account-server-1 processes=5 threads=1 | |
WSGIProcessGroup account-server-1 | |
WSGIScriptAlias / /var/www/swift/account-server-1.wsgi | |
LimitRequestFields 200 | |
ErrorLog /var/log/apache2/account-server-1 | |
LogLevel debug | |
CustomLog /var/log/apache2/access.log combined | |
</VirtualHost> | |
# Account Service 2 | |
NameVirtualHost *:6022 | |
Listen 6022 | |
<VirtualHost *:6022> | |
ServerName account-server | |
WSGIDaemonProcess account-server-2 processes=5 threads=1 | |
WSGIProcessGroup account-server-2 | |
WSGIScriptAlias / /var/www/swift/account-server-2.wsgi | |
LimitRequestFields 200 | |
ErrorLog /var/log/apache2/account-server-2 | |
LogLevel debug | |
CustomLog /var/log/apache2/access.log combined | |
</VirtualHost> | |
# Account Service 3 | |
NameVirtualHost *:6032 | |
Listen 6032 | |
<VirtualHost *:6032> | |
ServerName account-server | |
WSGIDaemonProcess account-server-3 processes=5 threads=1 | |
WSGIProcessGroup account-server-3 | |
WSGIScriptAlias / /var/www/swift/account-server-3.wsgi | |
LimitRequestFields 200 | |
ErrorLog /var/log/apache2/account-server-3 | |
LogLevel debug | |
CustomLog /var/log/apache2/access.log combined | |
</VirtualHost> | |
# Account Service 4 | |
NameVirtualHost *:6042 | |
Listen 6042 | |
<VirtualHost *:6042> | |
ServerName account-server | |
WSGIDaemonProcess account-server-4 processes=5 threads=1 | |
WSGIProcessGroup account-server-4 | |
WSGIScriptAlias / /var/www/swift/account-server-4.wsgi | |
LimitRequestFields 200 | |
ErrorLog /var/log/apache2/account-server-4 | |
LogLevel debug | |
CustomLog /var/log/apache2/access.log combined | |
</VirtualHost> | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[func_test] | |
# sample config | |
auth_host = 127.0.0.1 | |
auth_port = 8080 | |
auth_ssl = no | |
auth_prefix = /auth/ | |
# apache stuff | |
web_front_end = apache2 | |
normalized_urls = True | |
# Primary functional test account (needs admin access to the account) | |
account = test | |
username = tester | |
password = testing | |
# User on a second account (needs admin access to the account) | |
account2 = test2 | |
username2 = tester2 | |
password2 = testing2 | |
# User on same account as first, but without admin access | |
username3 = tester3 | |
password3 = testing3 | |
collate = C | |
[unit_test] | |
fake_syslog = False |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from swift.common.wsgi import init_request_processor | |
application, conf, logger, log_name = \ | |
init_request_processor('/etc/swift/account-server/1.conf', | |
'account-server') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from swift.common.wsgi import init_request_processor | |
application, conf, logger, log_name = \ | |
init_request_processor('/etc/swift/account-server/2.conf', | |
'account-server') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from swift.common.wsgi import init_request_processor | |
application, conf, logger, log_name = \ | |
init_request_processor('/etc/swift/account-server/3.conf', | |
'account-server') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from swift.common.wsgi import init_request_processor | |
application, conf, logger, log_name = \ | |
init_request_processor('/etc/swift/account-server/4.conf', | |
'account-server') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from swift.common.wsgi import init_request_processor | |
application, conf, logger, log_name = \ | |
init_request_processor('/etc/swift/container-server/1.conf', | |
'container-server') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from swift.common.wsgi import init_request_processor | |
application, conf, logger, log_name = \ | |
init_request_processor('/etc/swift/container-server/2.conf', | |
'container-server') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from swift.common.wsgi import init_request_processor | |
application, conf, logger, log_name = \ | |
init_request_processor('/etc/swift/container-server/3.conf', | |
'container-server') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from swift.common.wsgi import init_request_processor | |
application, conf, logger, log_name = \ | |
init_request_processor('/etc/swift/container-server/4.conf', | |
'container-server') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from swift.common.wsgi import init_request_processor | |
application, conf, logger, log_name = \ | |
init_request_processor('/etc/swift/object-server/1.conf', | |
'object-server') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from swift.common.wsgi import init_request_processor | |
application, conf, logger, log_name = \ | |
init_request_processor('/etc/swift/object-server/2.conf', | |
'object-server') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from swift.common.wsgi import init_request_processor | |
application, conf, logger, log_name = \ | |
init_request_processor('/etc/swift/object-server/3.conf', | |
'object-server') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from swift.common.wsgi import init_request_processor | |
application, conf, logger, log_name = \ | |
init_request_processor('/etc/swift/object-server/4.conf', | |
'object-server') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from swift.common.wsgi import init_request_processor | |
application, conf, logger, log_name = \ | |
init_request_processor('/etc/swift/proxy-server.conf','proxy-server') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment