Skip to content

Commit

Permalink
use more headers for alt-svc header
Browse files Browse the repository at this point in the history
  • Loading branch information
Zoey2936 committed Oct 12, 2023
1 parent 8fa615c commit bc8f785
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion backend/templates/_listen.conf
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@
listen 443 quic;
listen [::]:443 quic;

add_header Alt-Svc 'h3=":443"; ma=86400';
more_set_headers "Alt-Svc: h3=':443'; ma=86400";
{% endif %}
{% endif %}
{% unless hsts_subdomains %}
more_clear_headers "Alt-Svc";
{% endunless %}
server_name {{ domain_names | join: " " }};

0 comments on commit bc8f785

Please sign in to comment.