aboutsummaryrefslogtreecommitdiff
<VirtualHost *:80>
    # Add machine's IP address
    ServerName qc.localhost

    DocumentRoot /home/fredm/gnqc_py/qc_app

    <Proxy *>
        Order allow,deny
	Allow from all
    </Proxy>

    # Serve application via gunicorn
    ProxyPass / http://127.0.0.1:5050/
    ProxyPassReverse / http://127.0.0.1:5050/

    ErrorLog ${APACHE_LOG_DIR}/gnqc_py.error.log
    LogLevel warn
    CustomLog ${APACHE_LOG_DIR}/gnqc_py.access.log combined
</VirtualHost>