Instantly share code, notes, and snippets.

Embed
What would you like to do?
<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