diff options
author | crupest <crupest@outlook.com> | 2024-11-11 01:12:29 +0800 |
---|---|---|
committer | Yuqian Yang <crupest@crupest.life> | 2025-01-20 23:24:41 +0800 |
commit | a293e50247ff6e61cd730b6ef02c287d9264f17b (patch) | |
tree | 0e5241878de3fc7cd36e4e5bcd2eac3ae1b063f6 /templates/nginx/common | |
parent | f81f0a9a586574aeeeca395d345ff9780c6fde68 (diff) | |
download | crupest-a293e50247ff6e61cd730b6ef02c287d9264f17b.tar.gz crupest-a293e50247ff6e61cd730b6ef02c287d9264f17b.tar.bz2 crupest-a293e50247ff6e61cd730b6ef02c287d9264f17b.zip |
HALF WORK: 2024.1.20 - 4
Diffstat (limited to 'templates/nginx/common')
-rw-r--r-- | templates/nginx/common/http-listen | 2 | ||||
-rw-r--r-- | templates/nginx/common/https-listen | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/templates/nginx/common/http-listen b/templates/nginx/common/http-listen new file mode 100644 index 0000000..76cb18d --- /dev/null +++ b/templates/nginx/common/http-listen @@ -0,0 +1,2 @@ +listen 80; +listen [::]:80; diff --git a/templates/nginx/common/https-listen b/templates/nginx/common/https-listen new file mode 100644 index 0000000..db2f68e --- /dev/null +++ b/templates/nginx/common/https-listen @@ -0,0 +1,3 @@ +listen 443 ssl; +listen [::]:443 ssl; +http2 on; |