38 lines
748 B
Plaintext
38 lines
748 B
Plaintext
server {
|
|
listen 80;
|
|
server_name *.unitraklub.pl unitraklub.pl;
|
|
add_header Alt-Svc 'h3=":443"; ma=86400';
|
|
|
|
root /var/www/503/;
|
|
index index.html;
|
|
|
|
if ($scheme = http) {
|
|
return 301 https://$host$request_uri;
|
|
}
|
|
|
|
}
|
|
|
|
server {
|
|
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=":$server_port"; ma=86400';
|
|
|
|
server_name *.unitraklub.pl unitraklub.pl;
|
|
|
|
ssl_certificate /etc/ssl/unitraklub.pl/fullchain.pem;
|
|
ssl_certificate_key /etc/ssl/unitraklub.pl/privkey.pem;
|
|
|
|
ssl_stapling off;
|
|
|
|
root /var/www/503/;
|
|
index index.html;
|
|
|
|
location / {
|
|
try_files /index.html =404;
|
|
}
|
|
}
|