🎨 add testing and put as optional many varaibles

This commit is contained in:
2024-07-30 15:52:05 +01:00
parent 05fc32f18a
commit 89c5666074
5 changed files with 946 additions and 229 deletions
+1 -2
View File
@@ -12,6 +12,7 @@ server {
location / {
proxy_pass %{ if proxy_pass_https}https%{else}http%{ endif }://${name_site}_backend;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Host $host;
%{ if authentication_required}
auth_basic "Administrator’s Area";
auth_basic_user_file /authentication-htpasswd/.htpasswd;
@@ -30,9 +31,7 @@ server {
root /var/www/certbot;
}
%{~ if extra_value_bool ~}
${extra-value}
%{~ endif ~}
%{~ if http2_bool~}
http2 on;
ssl_protocols TLSv1.2;