# vim: :filetype=apache
## dev.eddn.edcd.io
ServerName dev.eddn.edcd.io
DocumentRoot //home/eddn/.local/share/eddn/dev
ErrorLog ${APACHE_LOG_DIR}/dev.eddn.edcd.io/error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog ${APACHE_LOG_DIR}/dev.eddn.edcd.io/access.log combined
Redirect / https://dev.eddn.edcd.io/
RedirectMatch "/^(.*)$" "https://dev.eddn.edcd.io/$1"
# LetsEncrypt
Alias /.well-known/ /var/www/letsencrypt/.well-known/
Options -Indexes
Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
AllowOverride All
Require all granted
Require all denied
Include partials/default-directory.conf
SSLEngine On
SSLCertificateFile /etc/letsencrypt/live/dev.eddn.edcd.io/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/dev.eddn.edcd.io/privkey.pem
ServerName dev.eddn.edcd.io
DocumentRoot /home/eddn/.local/share/eddn/dev/monitor
ErrorLog ${APACHE_LOG_DIR}/dev.eddn.edcd.io/error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog ${APACHE_LOG_DIR}/dev.eddn.edcd.io/access.log combined
# LetsEncrypt
Alias /.well-known/ /var/www/letsencrypt/.well-known/
Options -Indexes
Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
AllowOverride All
Require all granted
Require all denied
# Serve the schemas
Alias /schemas/ /home/eddn/.local/share/eddn/dev/schemas/
# netdata (performance info)
Redirect /netdata /netdata/
SetOutputFilter DEFLATE
Require all granted
Require all denied
SSLProxyEngine On
SSLProxyVerify none
ProxyPreserveHost On
ProxyPass "/netdata/" "http://127.0.0.1:19999/"