re2o.conf 598 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
<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
17
    Alias /media PATH/media
18 19 20 21 22 23

    WSGIScriptAlias / PATH/re2o/wsgi.py
    WSGIProcessGroup re2o
    WSGIDaemonProcess re2o processes=2 threads=16 maximum-requests=1000 display-name=re2o

</VirtualHost>