summaryrefslogtreecommitdiffstats
path: root/templates/nginx.j2
diff options
context:
space:
mode:
authorRomain Porte <microjoe@microjoe.org>2020-05-08 20:36:17 +0200
committerRomain Porte <microjoe@microjoe.org>2020-05-08 20:36:17 +0200
commita0bd9daa3c4f710ba0654244a6eada5d489397fb (patch)
tree2da520065d1e54378696d62ad30255ea45c4eff2 /templates/nginx.j2
parent19ca32276d0c9c1515d5ddbe152faa9257eec3e0 (diff)
downloadMicroJoe.ttrss-a0bd9daa3c4f710ba0654244a6eada5d489397fb.tar.gz
MicroJoe.ttrss-a0bd9daa3c4f710ba0654244a6eada5d489397fb.zip
rename letsencrypt_https -> nginx_ssl
Diffstat (limited to 'templates/nginx.j2')
-rw-r--r--templates/nginx.j22
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/nginx.j2 b/templates/nginx.j2
index b8bacba..a05fe72 100644
--- a/templates/nginx.j2
+++ b/templates/nginx.j2
@@ -11,7 +11,7 @@ server {
root {{ nginx_certbot_webroot }};
}
- {% if letsencrypt_https %}
+ {% if nginx_ssl %}
location / {
rewrite ^(.*)$ https://{{ nginx_domain }}$1 permanent;
}