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"
|
"/challenges_snippet.conf"
|
||||||
),
|
),
|
||||||
"server {
|
"server {
|
||||||
listen 443 ssl http2;
|
listen 443 ssl;
|
||||||
listen [::]:443 ssl http2;
|
listen [::]:443 ssl;
|
||||||
|
http2 on;
|
||||||
|
|
||||||
server_name testdomain;
|
server_name testdomain;
|
||||||
include \"/challenges_snippet.conf\";
|
include \"/challenges_snippet.conf\";
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -24,8 +24,10 @@ pub fn server_config<D: Display, C: AsRef<Path>, K: AsRef<Path>, T: Display, S:
|
||||||
) -> String {
|
) -> String {
|
||||||
format!(
|
format!(
|
||||||
"server {{
|
"server {{
|
||||||
listen 443 ssl http2;
|
listen 443 ssl;
|
||||||
listen [::]:443 ssl http2;
|
listen [::]:443 ssl;
|
||||||
|
http2 on;
|
||||||
|
|
||||||
server_name {};
|
server_name {};
|
||||||
include \"{}\";
|
include \"{}\";
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue