-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
72 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<VirtualHost *:80> | ||
ServerName dev.ff.berlin | ||
ServerAdmin "[email protected]" | ||
|
||
DocumentRoot /var/www/404 | ||
|
||
RewriteEngine On | ||
RewriteCond %{REQUEST_URI} !^/.well-known/ | ||
RewriteRule .* https://dev.ff.berlin%{REQUEST_URI} [R=301,L] | ||
</VirtualHost> | ||
|
||
<VirtualHost *:443> | ||
ServerName dev.ff.berlin | ||
ServerAdmin "[email protected]" | ||
SSLEngine on | ||
SSLCertificateFile /etc/letsencrypt/live/dev.ff.berlin/cert.pem | ||
SSLCertificateChainFile /etc/letsencrypt/live/dev.ff.berlin/chain.pem | ||
SSLCertificateKeyFile /etc/letsencrypt/live/dev.ff.berlin/privkey.pem | ||
|
||
DocumentRoot /var/www/dev.berlin.freifunk.net/www/dev | ||
|
||
<Directory "/var/www/dev.berlin.freifunk.net/www"> | ||
Options FollowSymLinks | ||
AllowOverride None | ||
Require all granted | ||
</Directory> | ||
|
||
ErrorLog "/var/log/apache2/dev.berlin.freifunk.net-error.log" | ||
CustomLog "/var/log/apache2/dev.berlin.freifunk.net-access.log" combined | ||
</VirtualHost> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
User-agent: * | ||
Disallow: / |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<VirtualHost *:80> | ||
ServerName website.ff.berlin | ||
ServerAdmin "[email protected]" | ||
|
||
DocumentRoot /var/www/404 | ||
|
||
RewriteEngine On | ||
RewriteCond %{REQUEST_URI} !^/.well-known/ | ||
RewriteRule .* https://website.ff.berlin%{REQUEST_URI} [R=301,L] | ||
</VirtualHost> | ||
|
||
<VirtualHost *:443> | ||
ServerName website.ff.berlin | ||
ServerAdmin "[email protected]" | ||
SSLEngine on | ||
SSLCertificateFile /etc/letsencrypt/live/website.ff.berlin/cert.pem | ||
SSLCertificateChainFile /etc/letsencrypt/live/website.ff.berlin/chain.pem | ||
SSLCertificateKeyFile /etc/letsencrypt/live/website.ff.berlin/privkey.pem | ||
|
||
DocumentRoot /var/www/berlin.freifunk.net/www | ||
|
||
<Directory "/var/www/berlin.freifunk.net/www"> | ||
Options FollowSymLinks | ||
AllowOverride None | ||
Require all granted | ||
</Directory> | ||
|
||
ErrorLog "/var/log/apache2/berlin.freifunk.net-error.log" | ||
CustomLog "/var/log/apache2/berlin.freifunk.net-access.log" combined | ||
</VirtualHost> |