swift/examples/wsgi/proxy-server.wsgi.template

15 lines
514 B
Plaintext

# Proxy Server wsgi Template
#
# Change %SERVICECONF% to the service conf file you are using
#
# For example:
# Replace %SERVICECONF% by proxy-server.conf
#
# This file than need to be saved under /var/www/swift/%SERVICENAME%.wsgi
# * Replace %SERVICENAME% with the service name you use your system
# E.g. Replace %SERVICENAME% by proxy-server
from swift.common.wsgi import init_request_processor
application, conf, logger, log_name = \
init_request_processor('/etc/swift/%SERVICECONF%','proxy-server')