Sharp.Augeas/CodeLiturgy.Augeas/root/etc/apache2/sites-available/sample_dotnet_apache_config...

15 lines
412 B
Plaintext
Raw Normal View History

2022-11-04 20:09:06 +03:00
<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>