2017-08-31 17:40:24 +00:00
|
|
|
<VirtualHost *:80>
|
|
|
|
ServerName URL_SERVER
|
|
|
|
|
|
|
|
LogLevel warn
|
|
|
|
ErrorLog ${APACHE_LOG_DIR}/re2o-error.log
|
|
|
|
CustomLog ${APACHE_LOG_DIR}/re2o-access.log combined
|
|
|
|
|
|
|
|
<Directory />
|
|
|
|
AuthType Basic
|
|
|
|
AuthName "Password Required"
|
|
|
|
AuthUserFile /usr/local/password
|
|
|
|
Require valid-user
|
|
|
|
#Require all granted
|
|
|
|
</Directory>
|
|
|
|
|
|
|
|
Alias /static PATH/static_files
|
2018-04-08 16:01:40 +00:00
|
|
|
Alias /media PATH/media
|
2017-08-31 17:40:24 +00:00
|
|
|
|
|
|
|
WSGIScriptAlias / PATH/re2o/wsgi.py
|
|
|
|
WSGIProcessGroup re2o
|
|
|
|
WSGIDaemonProcess re2o processes=2 threads=16 maximum-requests=1000 display-name=re2o
|
2018-04-21 19:48:33 +00:00
|
|
|
WSGIPassAuthorization On
|
2017-08-31 17:40:24 +00:00
|
|
|
|
|
|
|
</VirtualHost>
|