nginx/sites-available/wordpress_ffhh

49 lines
942 B
Plaintext
Raw Permalink Normal View History

2014-08-26 00:19:25 +02:00
server {
include /etc/nginx/include/no_logging.conf;
2014-08-26 00:19:25 +02:00
listen 80;
listen [::]:80;
server_name freifunk.ffhh;
include /etc/nginx/include/wordpress_common.conf;
}
server {
include /etc/nginx/include/no_logging.conf;
2014-08-26 00:19:25 +02:00
listen 80;
listen [::]:80;
2014-08-26 00:19:25 +02:00
server_name hamburg.freifunk.net www.hamburg.freifunk.net;
2014-08-26 00:19:25 +02:00
rewrite ^ https://hamburg.freifunk.net$request_uri? permanent;
}
2014-08-26 00:19:25 +02:00
server {
include /etc/nginx/include/no_logging.conf;
2014-08-26 00:19:25 +02:00
listen 443 ssl;
listen [::]:443 ssl;
2014-08-26 00:19:25 +02:00
server_name www.hamburg.freifunk.net;
2014-08-26 00:19:25 +02:00
include /etc/nginx/include/ssl_wildcard.conf;
2014-08-26 00:19:25 +02:00
rewrite ^ https://hamburg.freifunk.net$request_uri? permanent;
}
2014-08-26 00:19:25 +02:00
server {
include /etc/nginx/include/no_logging.conf;
2014-08-26 00:19:25 +02:00
listen 443 ssl;
listen [::]:443 ssl;
2014-08-26 00:19:25 +02:00
server_name hamburg.freifunk.net;
2014-08-26 00:19:25 +02:00
include /etc/nginx/include/ssl_hamburg_freifunk_net.conf;
2014-08-26 00:19:25 +02:00
include /etc/nginx/include/wordpress_common.conf;
2014-08-26 00:19:25 +02:00
}