fix all
This commit is contained in:
@ -3,7 +3,7 @@ server {
|
||||
server_name {{ site_name }};
|
||||
|
||||
location / {
|
||||
root /var/www/html/{{ site_name }};
|
||||
root /var/www/{{ site_name }};
|
||||
index index.html;
|
||||
}
|
||||
}
|
||||
}
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
@ -7,4 +7,4 @@
|
||||
<h1>{{ site_name }}</h1>
|
||||
<p>{{ additional_content }}</p>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
Reference in New Issue
Block a user