From fec9980c6b774f04c007925db36a1810d0f1156e Mon Sep 17 00:00:00 2001 From: Arnaud Fornerot Date: Mon, 6 Dec 2021 16:12:17 +0100 Subject: [PATCH] configuration reverse proxy wss --- dicos/90_nineskeletor.xml | 10 +++++++++- tmpl/nineskeletor-nginx.conf | 6 ++++++ 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 tmpl/nineskeletor-nginx.conf diff --git a/dicos/90_nineskeletor.xml b/dicos/90_nineskeletor.xml index 68fbb0a..4bf559c 100644 --- a/dicos/90_nineskeletor.xml +++ b/dicos/90_nineskeletor.xml @@ -2,6 +2,7 @@ + @@ -24,7 +25,7 @@ - + oui @@ -77,9 +78,15 @@ non nineskeletor + nineskeletor_nginx nineskeletor + + + non + nineskeletor_nginx + @@ -109,6 +116,7 @@ nineskeletor_dbpass nineskeletor + nineskeletor_nginx nineskeletor diff --git a/tmpl/nineskeletor-nginx.conf b/tmpl/nineskeletor-nginx.conf new file mode 100644 index 0000000..918e1ae --- /dev/null +++ b/tmpl/nineskeletor-nginx.conf @@ -0,0 +1,6 @@ + location /wssnineskeletor { + 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