Konfiguration gefixt und massiv aufgeräumt
SSL Redirects funktionieren jetzt
This commit is contained in:
parent
d170593345
commit
d144bc082c
30 changed files with 501 additions and 241 deletions
|
@ -1,28 +1,24 @@
|
|||
server {
|
||||
listen 80;
|
||||
listen [::]:80;
|
||||
server_name meta.hamburg.freifunk.net;
|
||||
include /etc/nginx/include/no_logging.conf;
|
||||
|
||||
access_log off; # Bitte nicht aktivieren. Wir wollen ja nicht die IPs unserer Visitor loggen.
|
||||
listen 80;
|
||||
listen [::]:80;
|
||||
|
||||
# Bitte nur zum Debuggen von schweren Fehlern das Log-File temporär setzen und dann anschließend die Logs löschen.
|
||||
# So stellen wir sicher, dass keine IPs geloggt werden.
|
||||
error_log /dev/null crit;
|
||||
server_name meta.hamburg.freifunk.net;
|
||||
|
||||
root /var/www/meta_ffhh;
|
||||
|
||||
disable_symlinks on from=$document_root;
|
||||
|
||||
location / {
|
||||
autoindex on;
|
||||
autoindex_exact_size on;
|
||||
autoindex_localtime off;
|
||||
}
|
||||
|
||||
location ~ /\. {
|
||||
deny all;
|
||||
access_log off;
|
||||
log_not_found off;
|
||||
}
|
||||
include /etc/nginx/include/meta_common.conf;
|
||||
}
|
||||
|
||||
server {
|
||||
include /etc/nginx/include/no_logging.conf;
|
||||
|
||||
listen 443 ssl;
|
||||
listen [::]:443 ssl;
|
||||
|
||||
server_name meta.hamburg.freifunk.net;
|
||||
|
||||
include /etc/nginx/include/ssl_wildcard.conf;
|
||||
|
||||
include /etc/nginx/include/meta_common.conf;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue