Skip to content

Commit

Permalink
Update default.conf
Browse files Browse the repository at this point in the history
Signed-off-by: Zoey <[email protected]>
  • Loading branch information
Zoey2936 authored Dec 31, 2024
1 parent 8050b6c commit 11a61d8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions backend/templates/default.conf
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ server {
listen {{ env.IPV4_BINDING }}:{{ env.HTTPS_PORT }} quic reuseport default_server;
{% if env.DISABLE_IPV6 == "false" %}listen {{ env.IPV6_BINDING }}:{{ env.HTTPS_PORT }} quic reuseport default_server;{% endif %}
more_set_headers 'Alt-Svc: h3=":{{ env.HTTPS_PORT }}"; ma=86400';
{% else %}
more_clear_headers "Alt-Svc";
http3 off;
{% endif %}

server_name _;
Expand Down

0 comments on commit 11a61d8

Please sign in to comment.