ServerName pxe.jsw.gen.nz
ServerName pxe.4.jsw.gen.nz
ServerName pxe.6.jsw.gen.nz
ServerAdmin stephen@jsw.gen.nz
# Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
# error, crit, alert, emerg.
# It is also possible to configure the loglevel for particular
# modules, e.g.
#LogLevel info ssl:warn
LogLevel debug
ErrorLog ${APACHE_LOG_DIR}/error_pxe.jsw.gen.nz.log
CustomLog ${APACHE_LOG_DIR}/access_pxe.jsw.gen.nz.log combined
DocumentRoot /var/www/pxe
Require all granted
Options Indexes FollowSymlinks MultiViews
AllowOverride All
Dav off
SetEnv HOME /var/www/pxe
SetEnv HTTP_HOME /var/www/pxe
Alias "/archives" "/mnt/hddata/archives"
Require all granted
Options Indexes FollowSymlinks MultiViews
AllowOverride All
Dav off
ServerName pxe.jsw.gen.nz
ServerName pxe.4.jsw.gen.nz
ServerName pxe.6.jsw.gen.nz
ServerAdmin stephen@jsw.gen.nz
# Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
# error, crit, alert, emerg.
# It is also possible to configure the loglevel for particular
# modules, e.g.
#LogLevel info ssl:warn
LogLevel debug
ErrorLog ${APACHE_LOG_DIR}/error_pxe.jsw.gen.nz.log
CustomLog ${APACHE_LOG_DIR}/access_pxe.jsw.gen.nz.log combined
# For most configuration files from conf-available/, which are
# enabled or disabled at a global level, it is possible to
# include a line for only one particular virtual host. For example the
# following line enables the CGI configuration for this host only
# after it has been globally disabled with "a2disconf".
#Include conf-available/serve-cgi-bin.conf
# SSL Engine Switch:
# Enable/Disable SSL for this virtual host.
SSLEngine on
# A self-signed (snakeoil) certificate can be created by installing
# the ssl-cert package. See
# /usr/share/doc/apache2/README.Debian.gz for more info.
# If both key and certificate are stored in the same file, only the
# SSLCertificateFile directive is needed.
#SSLCertificateFile /etc/ssl/certs/ssl-cert-snakeoil.pem
#SSLCertificateKeyFile /etc/ssl/private/ssl-cert-snakeoil.key
SSLCertificateFile /etc/letsencrypt/live/jsw.gen.nz/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/jsw.gen.nz/privkey.pem
DocumentRoot /var/www/pxe
Require all granted
Options Indexes FollowSymlinks MultiViews
AllowOverride All
Dav off
SetEnv HOME /var/www/pxe
SetEnv HTTP_HOME /var/www/pxe
Alias "/archives" "/mnt/hddata/archives"
Require all granted
Options Indexes FollowSymlinks MultiViews
AllowOverride All
Dav off
Header always set Strict-Transport-Security "max-age=15552000; includeSubDomains"