_
This commit is contained in:
16
nginx.conf
16
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 "<h1>test site</h1>";
|
||||
}
|
||||
}
|
||||
|
||||
server {
|
||||
listen 443 ssl http2;
|
||||
|
||||
Reference in New Issue
Block a user