2016-04-07 15:50:58 +02:00
|
|
|
server {
|
|
|
|
listen 80;
|
|
|
|
listen [::]:80;
|
|
|
|
|
2016-04-09 21:14:57 +02:00
|
|
|
server_name binary-kitchen.de www.binary-kitchen.de binary-kitchen.com www.binary-kitchen.com binary-kitchen.net www.binary-kitchen.net binary-kitchen.space www.binary-kitchen.space binary.kitchen www.binary.kitchen;
|
2016-04-07 15:50:58 +02:00
|
|
|
|
2016-04-08 07:43:23 +02:00
|
|
|
location /.well-known/acme-challenge {
|
2016-04-07 15:50:58 +02:00
|
|
|
default_type "text/plain";
|
2016-04-08 07:43:23 +02:00
|
|
|
alias /var/www/acme-challenge;
|
2016-04-07 15:50:58 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
location / {
|
|
|
|
return 301 https://www.binary-kitchen.de$request_uri;
|
2016-04-07 20:51:56 +02:00
|
|
|
}
|
2016-04-07 15:50:58 +02:00
|
|
|
}
|
|
|
|
|
2017-02-28 14:14:33 +01:00
|
|
|
server {
|
|
|
|
listen 443 ssl http2;
|
|
|
|
listen [::]:443 ssl http2;
|
|
|
|
|
|
|
|
server_name binary-kitchen.de;
|
|
|
|
|
|
|
|
ssl_certificate_key /etc/nginx/ssl/www.binary-kitchen.de.key;
|
|
|
|
ssl_certificate /etc/nginx/ssl/www.binary-kitchen.de.crt;
|
|
|
|
|
|
|
|
location / {
|
|
|
|
return 301 https://www.binary-kitchen.de$request_uri;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-04-07 15:50:58 +02:00
|
|
|
server {
|
|
|
|
listen 443 ssl http2;
|
|
|
|
listen [::]:443 ssl http2;
|
|
|
|
|
|
|
|
server_name www.binary-kitchen.de;
|
|
|
|
|
|
|
|
ssl_certificate_key /etc/nginx/ssl/www.binary-kitchen.de.key;
|
|
|
|
ssl_certificate /etc/nginx/ssl/www.binary-kitchen.de.crt;
|
|
|
|
|
|
|
|
root /var/www/kitchen;
|
2016-04-07 20:51:56 +02:00
|
|
|
|
|
|
|
client_max_body_size 32M;
|
|
|
|
|
|
|
|
index index.php;
|
|
|
|
|
2016-04-08 07:43:23 +02:00
|
|
|
location = / {
|
|
|
|
return 301 https://www.binary-kitchen.de/wiki/;
|
|
|
|
}
|
|
|
|
|
|
|
|
location /owncloud {
|
|
|
|
rewrite ^/owncloud(/.*)$ https://oc.binary-kitchen.de$1;
|
|
|
|
}
|
|
|
|
|
2016-04-07 20:51:56 +02:00
|
|
|
location ~ /wiki/(data/|conf/|bin/|inc/|install.php) {
|
|
|
|
deny all;
|
|
|
|
}
|
|
|
|
|
2016-04-09 21:14:57 +02:00
|
|
|
location /static {
|
|
|
|
autoindex on;
|
|
|
|
}
|
|
|
|
|
2016-04-07 20:51:56 +02:00
|
|
|
location ~ \.php(?:$|/) {
|
|
|
|
fastcgi_split_path_info ^(.+\.php)(/.+)$;
|
|
|
|
include fastcgi_params;
|
|
|
|
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
|
|
|
fastcgi_param PATH_INFO $fastcgi_path_info;
|
2017-07-03 09:49:18 +02:00
|
|
|
fastcgi_pass unix:/var/run/php/php7.0-fpm.sock;
|
2016-04-07 20:51:56 +02:00
|
|
|
fastcgi_intercept_errors on;
|
|
|
|
}
|
2016-04-07 15:50:58 +02:00
|
|
|
}
|
2016-05-09 20:33:49 +02:00
|
|
|
|
|
|
|
server {
|
|
|
|
listen 80;
|
|
|
|
listen [::]:80;
|
|
|
|
|
|
|
|
server_name ccc-r.de www.ccc-r.de ccc-regensburg.de www.ccc-regensburg.de;
|
|
|
|
|
|
|
|
location /.well-known/acme-challenge {
|
|
|
|
default_type "text/plain";
|
|
|
|
alias /var/www/acme-challenge;
|
|
|
|
}
|
|
|
|
|
|
|
|
location / {
|
|
|
|
return 301 https://www.ccc-r.de$request_uri;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
server {
|
|
|
|
listen 443 ssl http2;
|
|
|
|
listen [::]:443 ssl http2;
|
|
|
|
|
|
|
|
server_name www.ccc-r.de;
|
|
|
|
|
|
|
|
ssl_certificate_key /etc/nginx/ssl/www.ccc-r.de.key;
|
|
|
|
ssl_certificate /etc/nginx/ssl/www.ccc-r.de.crt;
|
|
|
|
|
|
|
|
root /var/www/ccc-r;
|
|
|
|
|
|
|
|
default_type text/html;
|
|
|
|
}
|
2018-10-02 18:35:30 +02:00
|
|
|
|
|
|
|
server {
|
|
|
|
listen 80;
|
|
|
|
listen [::]:80;
|
|
|
|
|
|
|
|
server_name makerspace-regensburg.de www.makerspace-regensburg.de;
|
|
|
|
|
|
|
|
location /.well-known/acme-challenge {
|
|
|
|
default_type "text/plain";
|
|
|
|
alias /var/www/acme-challenge;
|
|
|
|
}
|
|
|
|
|
|
|
|
location / {
|
|
|
|
return 301 https://www.makerspace-regensburg.de$request_uri;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
server {
|
|
|
|
listen 443 ssl http2;
|
|
|
|
listen [::]:443 ssl http2;
|
|
|
|
|
|
|
|
server_name www.makerspace-regensburg.de;
|
|
|
|
|
|
|
|
ssl_certificate_key /etc/nginx/ssl/www.makerspace-regensburg.de.key;
|
|
|
|
ssl_certificate /etc/nginx/ssl/www.makerspace-regensburg.de.crt;
|
|
|
|
|
|
|
|
root /var/www/makerspace-regensburg;
|
|
|
|
|
|
|
|
default_type text/html;
|
|
|
|
}
|