-
Notifications
You must be signed in to change notification settings - Fork 2
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
2 changed files
with
84 additions
and
10 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -54,3 +54,34 @@ | |
CustomLog /var/log/apache2/util.berlin.freifunk.net-access.log combined | ||
ErrorLog /var/log/apache2/util.berlin.freifunk.net-error.log | ||
</VirtualHost> | ||
|
||
<VirtualHost *:443> | ||
ServerName ff.berlin | ||
ServerAdmin "[email protected]" | ||
SSLEngine on | ||
SSLCertificateFile /etc/letsencrypt/live/ff.berlin/cert.pem | ||
SSLCertificateChainFile /etc/letsencrypt/live/ff.berlin/chain.pem | ||
SSLCertificateKeyFile /etc/letsencrypt/live/ff.berlin/privkey.pem | ||
|
||
DocumentRoot /var/www/util.berlin.freifunk.net/www | ||
|
||
<Directory /var/www/util.berlin.freifunk.net/www> | ||
Options +FollowSymLinks -Indexes | ||
AllowOverride None | ||
Require all granted | ||
</Directory> | ||
|
||
# Always call the knoteninfo.php script | ||
DirectoryIndex knoteninfo.php | ||
|
||
# Deny access to all other PHP files | ||
<FilesMatch "\.php$"> | ||
Require all denied | ||
</FilesMatch> | ||
<Files "knoteninfo.php"> | ||
Require all granted | ||
</Files> | ||
|
||
CustomLog /var/log/apache2/ff.berlin-access.log combined | ||
ErrorLog /var/log/apache2/ff.berlin-error.log | ||
</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