_
This commit is contained in:
16
nginx.conf
16
nginx.conf
@@ -21,6 +21,22 @@ http {
|
|||||||
return 301 https://adoptapet.ru/cats/;
|
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 {
|
server {
|
||||||
listen 443 ssl http2;
|
listen 443 ssl http2;
|
||||||
server_name hypoxie-v-web-panel.duckdns.org;
|
server_name hypoxie-v-web-panel.duckdns.org;
|
||||||
|
|||||||
Reference in New Issue
Block a user