d144bc082c
SSL Redirects funktionieren jetzt
49 lines
942 B
Plaintext
49 lines
942 B
Plaintext
server {
|
|
include /etc/nginx/include/no_logging.conf;
|
|
|
|
listen 80;
|
|
listen [::]:80;
|
|
|
|
server_name freifunk.ffhh;
|
|
|
|
include /etc/nginx/include/wordpress_common.conf;
|
|
}
|
|
|
|
server {
|
|
include /etc/nginx/include/no_logging.conf;
|
|
|
|
listen 80;
|
|
listen [::]:80;
|
|
|
|
server_name hamburg.freifunk.net www.hamburg.freifunk.net;
|
|
|
|
rewrite ^ https://hamburg.freifunk.net$request_uri? permanent;
|
|
}
|
|
|
|
server {
|
|
include /etc/nginx/include/no_logging.conf;
|
|
|
|
listen 443 ssl;
|
|
listen [::]:443 ssl;
|
|
|
|
server_name www.hamburg.freifunk.net;
|
|
|
|
include /etc/nginx/include/ssl_wildcard.conf;
|
|
|
|
rewrite ^ https://hamburg.freifunk.net$request_uri? permanent;
|
|
}
|
|
|
|
server {
|
|
include /etc/nginx/include/no_logging.conf;
|
|
|
|
listen 443 ssl;
|
|
listen [::]:443 ssl;
|
|
|
|
server_name hamburg.freifunk.net;
|
|
|
|
include /etc/nginx/include/ssl_hamburg_freifunk_net.conf;
|
|
|
|
include /etc/nginx/include/wordpress_common.conf;
|
|
}
|
|
|