@@ -, +, @@ --- debian/docs/koha-create.xml | 2 +- debian/templates/apache-site-https.conf.in | 8 +++++--- 2 files changed, 6 insertions(+), 4 deletions(-) --- a/debian/docs/koha-create.xml +++ a/debian/docs/koha-create.xml @@ -180,7 +180,7 @@ - Set up a https-only website with letsencrypt cerificates + Set up a https-only website with letsencrypt certificates --- a/debian/templates/apache-site-https.conf.in +++ a/debian/templates/apache-site-https.conf.in @@ -2,9 +2,11 @@ # redirect http to https # #nohttps -# RewriteEngine On #nohttps -# RewriteCond %{HTTPS} !=on #nohttps -# RewriteRule ^/?(.*) https://%{SERVER_NAME}/$1 [R,L] #nohttps +# ServerName __OPACSERVER__ #nohttps +# ServerAlias __INTRASERVER__ #nohttps +# RewriteEngine On #nohttps +# RewriteCond %{HTTPS} !=on #nohttps +# RewriteRule ^/?(.*) https://%{SERVER_NAME}/$1 [R,L] #nohttps # #nohttps # OPAC --