Skip to content

Commit de9f053

Browse files
committed
add directives for SSL server blocks
1 parent 4cb9578 commit de9f053

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

internal/mode/static/nginx/config/servers_template.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ server {
2222
listen {{ $s.Port }} ssl;
2323
ssl_certificate {{ $s.SSL.Certificate }};
2424
ssl_certificate_key {{ $s.SSL.CertificateKey }};
25+
proxy_ssl_server_name on;
2526
2627
if ($ssl_server_name != $host) {
2728
return 421;

0 commit comments

Comments
 (0)