ServerAdmin webmaster@localhost LogLevel warn CustomLog /var/log/rudder/apache2/access.log combined ErrorLog /var/log/rudder/apache2/error.log # include redirection to https Include /opt/rudder/etc/rudder-apache-relay-nossl.conf # This default virtual host serves (on root servers) both Web/API and node communication # using the agent certificate. # See below for other configuration options. ServerAdmin webmaster@localhost LogLevel warn CustomLog /var/log/rudder/apache2/access.log combined ErrorLog /var/log/rudder/apache2/error.log # include relay configuration, plus webapp configuration if root server # configuration to use the agent certificate, required for node-server communication, # is included in rudder-apache-relay-ssl.conf Include /opt/rudder/etc/rudder-apache-relay-ssl.conf IncludeOptional /opt/rudder/etc/rudder-apache-webapp-ssl.conf # ############################################################################# # # To use a different certificate/port/configuration for Web/API access and # # and node communication, comment the default virtual host and uncomment and # # modify the following configuration. # # # # This is useful for: # # # # * using a different certificate for the web UI/API # # * separating the network flows for security reasons # # # # You will need a criteria to match the requests in the right virtual host, # # either a different port or a properly configured ServerName. # ############################################################################# # # # If you change the port for one of the virtual hosts you will likely need to add # # Listen 8443 # # ######################## # # Node communication # ######################## # # # ServerAdmin webmaster@localhost # # # ServerName rudder.private.example.com # # LogLevel warn # CustomLog /var/log/rudder/apache2/access.log combined # ErrorLog /var/log/rudder/apache2/error.log # # Include /opt/rudder/etc/rudder-apache-relay-ssl.conf # # # ################ # # Web/API # ################ # # # ServerAdmin webmaster@localhost # # ServerName rudder.example.com # # LogLevel warn # CustomLog /var/log/rudder/apache2/access.log combined # ErrorLog /var/log/rudder/apache2/error.log # # # Webapp config does not provide ssl configuration # SSLEngine on # SSLCertificateFile /etc/letsencrypt/live/example.com/cert.pem # SSLCertificateKeyFile /etc/letsencrypt/live/example.com/privkey.pem # SSLCertificateChainFile /etc/letsencrypt/live/example.com/fullchain.pem # # # To use settings provided by letsencrypt # # # Include /etc/letsencrypt/options-ssl-apache.conf # # Include /opt/rudder/etc/rudder-apache-webapp-ssl.conf #