Apache configuration to run Node.js applications on a Virtual Host
- Enable mod_proxy and mod_proxy_http:
sudo a2enmod proxy
sudo a2enmod proxy_http
# Set up the service to start on server restart | |
sudo systemctl enable ZZZZZZ |
#!/bin/bash | |
# set values for certificate DNs | |
# note: CN is set to different values in the sections below | |
ORG="000_Test_Certificates" | |
# set values that the commands will share | |
VALID_DAYS=360 | |
CA_KEY=ca.key | |
CA_CERT=ca.crt |
var items = Array.prototype.slice.call( | |
document.querySelectorAll('*') | |
).map(function(element) { | |
var listeners = getEventListeners(element); | |
return { | |
element: element, | |
listeners: Object.keys(listeners).map(function(k) { | |
return { event: k, listeners: listeners[k] }; | |
}) | |
}; |