From 81acd8f27e54099bedeb8fb57cc5f402407cf96c Mon Sep 17 00:00:00 2001 From: Arnaud Fornerot Date: Mon, 6 Dec 2021 16:13:58 +0100 Subject: [PATCH] configuration reverse proxy wss --- dicos/90_ninegitea.xml | 10 +++++++++- tmpl/ninegitea-nginx.conf | 6 ++++++ 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 tmpl/ninegitea-nginx.conf diff --git a/dicos/90_ninegitea.xml b/dicos/90_ninegitea.xml index c118d35..d50ea34 100644 --- a/dicos/90_ninegitea.xml +++ b/dicos/90_ninegitea.xml @@ -2,6 +2,7 @@ + @@ -24,7 +25,7 @@ - + oui @@ -70,9 +71,15 @@ non ninegitea + ninegitea_nginx ninegitea + + + non + ninegitea_nginx + @@ -102,6 +109,7 @@ ninegitea_dbpass ninegitea + ninegitea_nginx ninegitea diff --git a/tmpl/ninegitea-nginx.conf b/tmpl/ninegitea-nginx.conf new file mode 100644 index 0000000..a507c36 --- /dev/null +++ b/tmpl/ninegitea-nginx.conf @@ -0,0 +1,6 @@ + location /wssninegitea { + proxy_pass https://%%container_ip_web; + proxy_http_version 1.1; + proxy_set_header Upgrade $http_upgrade; + proxy_set_header Connection "upgrade"; + } \ No newline at end of file