🎨 add testing and put as optional many varaibles
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user