From 79fb22e16d255854f0f180f72ff61e0c4914d5ff Mon Sep 17 00:00:00 2001 From: Roxedus Date: Sun, 3 Jan 2021 17:45:55 +0100 Subject: [PATCH 1/2] Add huginn --- huginn.subdomain.conf.sample | 40 ++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 huginn.subdomain.conf.sample diff --git a/huginn.subdomain.conf.sample b/huginn.subdomain.conf.sample new file mode 100644 index 0000000..dfb23e3 --- /dev/null +++ b/huginn.subdomain.conf.sample @@ -0,0 +1,40 @@ +## Version 2021/1/03 +# make sure that your dns has a cname set for huginn + +server { + listen 443 ssl; + listen [::]:443 ssl; + + server_name huginn.*; + + include /config/nginx/ssl.conf; + + client_max_body_size 0; + + # enable for ldap auth, fill in ldap details in ldap.conf + #include /config/nginx/ldap.conf; + + # enable for Authelia + #include /config/nginx/authelia-server.conf; + + location / { + # enable the next two lines for http auth + #auth_basic "Restricted"; + #auth_basic_user_file /config/nginx/.htpasswd; + + # enable the next two lines for ldap auth + #auth_request /auth; + #error_page 401 =200 /ldaplogin; + + # enable for Authelia + #include /config/nginx/authelia-location.conf; + + include /config/nginx/proxy.conf; + resolver 127.0.0.11 valid=30s; + set $upstream_app huginn; + set $upstream_port 3000; + set $upstream_proto http; + proxy_pass $upstream_proto://$upstream_app:$upstream_port; + + } +} From 7641fd58441359267b79ef5296ce6d62179edd78 Mon Sep 17 00:00:00 2001 From: Roxedus Date: Sun, 3 Jan 2021 17:53:11 +0100 Subject: [PATCH 2/2] Stupid zero Why did i convince IX to make this regex? --- huginn.subdomain.conf.sample | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/huginn.subdomain.conf.sample b/huginn.subdomain.conf.sample index dfb23e3..2b82cd6 100644 --- a/huginn.subdomain.conf.sample +++ b/huginn.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/1/03 +## Version 2021/01/03 # make sure that your dns has a cname set for huginn server {