Redirect permanent / https://phalanx.homelinuxserver.org
ServerName https://phalanx.homelinuxserver.org
ServerAdmin webmaster@localhost
DocumentRoot /var/www
Options FollowSymLinks
AllowOverride None
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Require all granted
Alias /htdocs /var/htdocs
Require all granted
ErrorDocument 403 /error_pages/404.html
ErrorDocument 404 /error_pages/404.html
CustomLog ${APACHE_LOG_DIR}/access.log combined
ErrorLog ${APACHE_LOG_DIR}/error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
SSLEngine On
SSLCertificateFile /etc/apache2/ssl/phalanx.crt
SSLCertificateKeyFile /etc/apache2/ssl/phalanx.key
SSLProtocol -all +TLSv1.3
SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown
# --- Nextcloud ------------------------------------------------
Alias /nextcloud/ "/var/www/nextcloud/"
Require all granted
AllowOverride All
Options FollowSymLinks MultiViews
Dav off
Header always set Strict-Transport-Security "max-age=15552000; includeSubDomains"
SetEnv HOME /var/www/nextcloud
SetEnv HTTP_HOME /var/www/nextcloud
# --- Redmine ---------------------------------------------------
Alias /redmine /var/www/redmine/
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
PassengerAppRoot /srv/redmine
RailsBaseURI /redmine