From ee70e809cb81948479a1f119ab6de02c0a14151a Mon Sep 17 00:00:00 2001 From: HypoxiE Date: Tue, 26 Aug 2025 19:44:24 +0700 Subject: [PATCH] _ --- nginx.conf | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/nginx.conf b/nginx.conf index 1f8de70..496e3a1 100644 --- a/nginx.conf +++ b/nginx.conf @@ -20,6 +20,22 @@ http { return 301 https://adoptapet.ru/cats/; } + + server { + listen 443 ssl http2; + server_name our-web.duckdns.org; + + ssl_certificate /etc/letsencrypt/live/our-web.duckdns.org/fullchain.pem; + ssl_certificate_key /etc/letsencrypt/live/our-web.duckdns.org/privkey.pem; + + ssl_protocols TLSv1.2 TLSv1.3; + ssl_ciphers HIGH:!aNULL:!MD5; + + location / { + add_header Content-Type text/html; + return 200 "

test site

"; + } + } server { listen 443 ssl http2;