33 lines
661 B
Plaintext
33 lines
661 B
Plaintext
server {
|
|
listen 80;
|
|
listen 443 quic;
|
|
listen 443 ssl;
|
|
http2 on;
|
|
http3 on;
|
|
ssl_protocols TLSv1.3 TLSv1.2;
|
|
ssl_early_data on;
|
|
add_header Alt-Svc 'h3=":443"; ma=86400';
|
|
|
|
ssl_certificate /etc/ssl/gru.one.pl/fullchain.pem;
|
|
ssl_certificate_key /etc/ssl/gru.one.pl/privkey.pem;
|
|
|
|
server_name .gru.one.pl ;
|
|
|
|
if ($scheme = http) {
|
|
return 301 https://$host$request_uri;
|
|
}
|
|
|
|
location / {
|
|
return 301 https://www.linuxiarz.pl$request_uri;
|
|
}
|
|
}
|
|
|
|
server {
|
|
listen 80;
|
|
server_name .grucha.eu.org;
|
|
|
|
location / {
|
|
return 301 https://www.gruszczynski.eu.org$request_uri;
|
|
}
|
|
}
|