Project

General

Profile

« Previous | Next » 

Revision 712fa2a4

Added by David Sorber about 4 years ago

Remove legacy apache configs directory.

View differences:

configs/apache/main.conf
<VirtualHost *:80>
Redirect permanent / https://phalanx.homelinuxserver.org
</VirtualHost>
<VirtualHost _default_:443>
ServerName https://phalanx.homelinuxserver.org
ServerAdmin webmaster@localhost
DocumentRoot /var/www
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Require all granted
</Directory>
Alias /htdocs /var/htdocs
<Directory /var/htdocs>
Require all granted
</Directory>
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.2 +TLSv1.3
SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown
# --- Redmine ---------------------------------------------------
PassengerAppRoot /srv/redmine
RailsBaseURI /redmine
Alias /redmine /var/www/redmine
<Directory /var/www/redmine>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
RailsBaseURI /redmine
</Directory>
# --- Nextcloud ------------------------------------------------
Alias /nextcloud "/var/www/nextcloud/"
<Directory /var/www/nextcloud/>
Options +FollowSymlinks
AllowOverride All
<IfModule mod_dav.c>
Dav off
</IfModule>
<IfModule mod_headers.c>
Header always set Strict-Transport-Security "max-age=15552000; includeSubDomains"
</IfModule>
SetEnv HOME /var/www/nextcloud
SetEnv HTTP_HOME /var/www/nextcloud
</Directory>
</VirtualHost>
configs/apache/nextcloud.conf
Alias /nextcloud "/var/www/nextcloud/"
<Directory /var/www/nextcloud/>
Options +FollowSymlinks
AllowOverride All
<IfModule mod_dav.c>
Dav off
</IfModule>
SetEnv HOME /var/www/nextcloud
SetEnv HTTP_HOME /var/www/nextcloud
</Directory>
configs/apache/old/baikal.conf
Alias /calendar /var/www/baikal/html
Alias /calendar/ /var/www/baikal/html/
<Directory "/var/www/baikal">
Options -Indexes
</Directory>
<Directory "/var/www/baikal/html">
Options None
Options +FollowSymlinks
AllowOverride All
</Directory>
configs/apache/old/stuff.conf
<Location /stuff>
AuthType Digest
AuthName "stuff"
AuthDigestProvider file
AuthUserFile /home/dsorber/web_users
Require valid-user
</Location>
configs/apache/old/trac.conf
WSGIScriptAlias /trac /home/dsorber/trac/projects/headquarters/trac.wsgi
<Directory /home/dsorber/trac/projects/headquarters/>
WSGIApplicationGroup %{GLOBAL}
Require all granted
</Directory>
<Location "/trac/login">
AuthType Digest
AuthName "trac"
AuthDigestProvider file
AuthUserFile /home/dsorber/web_users
Require valid-user
</Location>
Alias /trac/chrome/common /home/dsorber/trac/projects/headquarters/htdocs/common
Alias /trac/chrome/site /home/dsorber/trac/projects/headquarters/htdocs/site
<Directory "/home/dsorber/trac/projects/headquarters/htdocs">
Require all granted
</Directory>
configs/apache/transmission.conf
ProxyRequests Off
<Location /transmission>
AuthType Digest
AuthName "engine"
AuthDigestProvider file
AuthUserFile /home/dsorber/web_users
Require valid-user
ProxyPass http://192.168.8.6:9565/transmission
ProxyPassReverse http://192.168.8.6:9565/transmission
</Location>

Also available in: Unified diff