diff --git a/nginx/nginx.conf.template b/nginx/nginx.conf.template index 9d81c8a..680c708 100644 --- a/nginx/nginx.conf.template +++ b/nginx/nginx.conf.template @@ -57,7 +57,7 @@ http { root /var/www/certbot; } - location = $BACKEND_ENDPOINT { + location $BACKEND_ENDPOINT { return 301 $BACKEND_ENDPOINT/; }