From 04b7af2d0085c7263bb2fecfe747a5bceaaf4345 Mon Sep 17 00:00:00 2001 From: decentral1se Date: Fri, 7 May 2021 00:14:12 +0200 Subject: [PATCH] Drop that rewrite --- nginx.conf.tmpl | 4 ---- 1 file changed, 4 deletions(-) diff --git a/nginx.conf.tmpl b/nginx.conf.tmpl index c055bc2..968ee67 100644 --- a/nginx.conf.tmpl +++ b/nginx.conf.tmpl @@ -28,10 +28,6 @@ server { } location / { - if ($scheme = http) { - rewrite ^ https://$server_name$request_uri? permanent; - } - try_files /dev/null @api; }