devops-demo/Section_06/reverse_proxy.conf
Kishan Takoordyal b81d31adac Update rev
2023-05-20 14:25:47 +00:00

15 lines
396 B
Plaintext
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<VirtualHost *:80>
# ServerName www.example.com
ServerAdmin webmaster@localhost
# DocumentRoot /var/www/html
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
ProxyRequests Off
ProxyPreserveHost On
ProxyPass / https://127.0.0.1:5000/
ProxyPassReverse / https://127.0.0.1:5000/
</VirtualHost>