This commit is contained in:
2024-11-11 23:16:26 +03:00
parent ac4bad6936
commit c273781043
13 changed files with 49 additions and 68 deletions

View File

@ -3,7 +3,7 @@ server {
server_name {{ site_name }};
location / {
root /var/www/html/{{ site_name }};
root /var/www/{{ site_name }};
index index.html;
}
}
}

View File

@ -15,11 +15,6 @@ server {
ssl_certificate /etc/nginx/ssl/{{ proxy_name }}.crt;
ssl_certificate_key /etc/nginx/ssl/{{ proxy_name }}.key;
ssl_dhparam /etc/nginx/ssl/dhparam.pem;
ssl_protocols TLSv1.2 TLSv1.3;
ssl_prefer_server_ciphers on;
ssl_ciphers "ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384";
location / {
proxy_pass http://backend_servers;
@ -28,4 +23,4 @@ server {
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
}
}

View File

@ -7,4 +7,4 @@
<h1>{{ site_name }}</h1>
<p>{{ additional_content }}</p>
</body>
</html>
</html>