This repository has been archived on 2024-01-26. You can view files and clone it, but cannot push or open issues or pull requests.
nginx-config/sites-available/lpd.kraut.space.conf

18 lines
765 B
Text
Raw Permalink Normal View History

2016-05-21 13:47:21 +02:00
server {
listen 0.0.0.0:80;
listen [2a01:4f8:151:51a3:176:9:184:3]:80;
2016-07-15 21:29:24 +02:00
listen 0.0.0.0:443 ssl http2;
listen [2a01:4f8:151:51a3:176:9:184:3]:443 ssl http2;
2016-05-21 13:47:21 +02:00
ssl_certificate /etc/ssl/private/star.kraut.space.combined.crt;
ssl_certificate_key /etc/ssl/private/star.kraut.space.key;
server_name lpd.kraut.space;
access_log /var/log/nginx/kraut.space_access.log ano;
error_log /var/log/nginx/kraut.space_error.log;
add_header Public-Key-Pins 'pin-sha256="h1eF+0TRBTfD0ksblNkZnC3XQ8/w1tKDotkBiZcyThc="; pin-sha256="LUZ6gnGnIWtu/uXeQMfEEBlP8J6azBxFhPct2qpGYYk="; max-age=1209600; includeSubDomains';
# weiterleiten
rewrite ^ https://kraut.space/hswiki:termine:regelmaessige:linux-presentation-day:start permanent;
}