Update nginx templates
This commit is contained in:
parent
4cbcb4ddd5
commit
b11742ffad
2 changed files with 8 additions and 4 deletions
|
|
@ -27,8 +27,10 @@ mod test {
|
|||
"/challenges_snippet.conf"
|
||||
),
|
||||
"server {
|
||||
listen 443 ssl http2;
|
||||
listen [::]:443 ssl http2;
|
||||
listen 443 ssl;
|
||||
listen [::]:443 ssl;
|
||||
http2 on;
|
||||
|
||||
server_name testdomain;
|
||||
include \"/challenges_snippet.conf\";
|
||||
|
||||
|
|
|
|||
|
|
@ -24,8 +24,10 @@ pub fn server_config<D: Display, C: AsRef<Path>, K: AsRef<Path>, T: Display, S:
|
|||
) -> String {
|
||||
format!(
|
||||
"server {{
|
||||
listen 443 ssl http2;
|
||||
listen [::]:443 ssl http2;
|
||||
listen 443 ssl;
|
||||
listen [::]:443 ssl;
|
||||
http2 on;
|
||||
|
||||
server_name {};
|
||||
include \"{}\";
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue