blob: 850b5b24b1ffbbec2c491df13d4e4cef80b83b05 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
<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>
|