15 lines
412 B
Plaintext
15 lines
412 B
Plaintext
<VirtualHost *:*>
|
|
RequestHeader set "X-Forwarded-Proto" expr=%{REQUEST_SCHEME}
|
|
</VirtualHost>
|
|
|
|
<VirtualHost *:80>
|
|
ProxyPreserveHost On
|
|
ProxyPass / http://127.0.0.1:5000/
|
|
ProxyPassReverse / http://127.0.0.1:5000/
|
|
ServerName www.example.com
|
|
ServerAlias *.example.com
|
|
ErrorLog ${APACHE_LOG_DIR}helloapp-error.log
|
|
CustomLog ${APACHE_LOG_DIR}helloapp-access.log common
|
|
</VirtualHost>
|
|
|