From 12b8db4ab5180ac66537b4a1e40591b724dab164 Mon Sep 17 00:00:00 2001
From: nono <np@laquadrature.net>
Date: Tue, 19 Jan 2021 20:20:30 +0100
Subject: [PATCH] Fixed nginx config file

---
 files/etc/nginx/hedgedocs-nginx.conf.j2 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/files/etc/nginx/hedgedocs-nginx.conf.j2 b/files/etc/nginx/hedgedocs-nginx.conf.j2
index e0556b7..c34498d 100644
--- a/files/etc/nginx/hedgedocs-nginx.conf.j2
+++ b/files/etc/nginx/hedgedocs-nginx.conf.j2
@@ -3,7 +3,7 @@ map $http_upgrade $connection_upgrade {
         ''      close;
 }
 server {
-        server_name {{ service_hedgedocs_domain.split("https://")[0] | lower  }};
+        server_name {{ service_hedgedocs_domain.split("//")[0] | lower  }};
 
         location / {
                 proxy_pass http://127.0.0.1:3000;
-- 
GitLab