Created
November 7, 2017 21:15
-
-
Save jhaury/10508bfef231bc09c4eae4723645b4f0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<VirtualHost *:80> | |
ServerAdmin admin@mydomain.com | |
ProxyRequests off | |
DocumentRoot /path/to/my/servers/www/mydomain.com | |
SSLProxyEngine on | |
ProxyPreserveHost on | |
ServerName mydomain.com | |
ErrorLog ${APACHE_LOG_DIR}/nodered-mydomain-error.log | |
CustomLog ${APACHE_LOG_DIR}/nodered-mydomain-access.log combined | |
LogLevel error | |
ProxyPass /twiliosms https://noderedaddress:1880/twilio | |
ProxyPassReverse /twiliosms https://noderedaddress:1880/twilio | |
ProxyPass /twiliovoice https://noderedaddress:1880/twiliovoice | |
ProxyPassReverse /twiliovoice https://noderedaddress:1880/twiliovoice | |
ProxyPass /twilioivr https://noderedaddress:1880/twilioivr | |
ProxyPassReverse /twilioivr https://noderedaddress:1880/twilioivr | |
ProxyPass /alexa https://noderedaddress:1880/alexa | |
ProxyPassReverse /alexa https://noderedaddress:1880/alexa | |
# Order allow,deny | |
# Allow from all | |
<Directory "/path/to/my/servers/www/mydomain.com"> | |
Require all granted | |
</Directory> | |
</VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment