From fddab7224d5bbf54db13fd4c1cfc5f5a44e0e564 Mon Sep 17 00:00:00 2001 From: Eric Nemchik Date: Thu, 13 Apr 2023 12:04:44 -0500 Subject: [PATCH 1/5] Additional cadvisor endpoints --- cadvisor.subdomain.conf.sample | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/cadvisor.subdomain.conf.sample b/cadvisor.subdomain.conf.sample index a3f9474..d9a75ab 100644 --- a/cadvisor.subdomain.conf.sample +++ b/cadvisor.subdomain.conf.sample @@ -41,5 +41,34 @@ server { set $upstream_port 8080; set $upstream_proto http; proxy_pass $upstream_proto://$upstream_app:$upstream_port; + + } + + location ~ (/cadvisor)?/api { + include /config/nginx/proxy.conf; + include /config/nginx/resolver.conf; + set $upstream_app cadvisor; + set $upstream_port 8080; + set $upstream_proto http; + proxy_pass $upstream_proto://$upstream_app:$upstream_port; + + } + + location ~ (/cadvisor)?/metrics { + # enable the next two lines for http auth + #auth_basic "Restricted"; + #auth_basic_user_file /config/nginx/.htpasswd; + + # block metrics access by default because it is unprotected + # you can comment out the next line to enable remote metrics + deny all; + + include /config/nginx/proxy.conf; + include /config/nginx/resolver.conf; + set $upstream_app cadvisor; + set $upstream_port 8080; + set $upstream_proto http; + proxy_pass $upstream_proto://$upstream_app:$upstream_port; + } } From 99490181017b4e61ad7e981918aae212bf678f4d Mon Sep 17 00:00:00 2001 From: Eric Nemchik Date: Fri, 14 Apr 2023 15:24:07 -0500 Subject: [PATCH 2/5] Update cadvisor.subdomain.conf.sample --- cadvisor.subdomain.conf.sample | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/cadvisor.subdomain.conf.sample b/cadvisor.subdomain.conf.sample index d9a75ab..27e5a2a 100644 --- a/cadvisor.subdomain.conf.sample +++ b/cadvisor.subdomain.conf.sample @@ -53,22 +53,4 @@ server { proxy_pass $upstream_proto://$upstream_app:$upstream_port; } - - location ~ (/cadvisor)?/metrics { - # enable the next two lines for http auth - #auth_basic "Restricted"; - #auth_basic_user_file /config/nginx/.htpasswd; - - # block metrics access by default because it is unprotected - # you can comment out the next line to enable remote metrics - deny all; - - include /config/nginx/proxy.conf; - include /config/nginx/resolver.conf; - set $upstream_app cadvisor; - set $upstream_port 8080; - set $upstream_proto http; - proxy_pass $upstream_proto://$upstream_app:$upstream_port; - - } } From be68a63b4098a60b3700f7ca603d17af56d69417 Mon Sep 17 00:00:00 2001 From: "J. Scott Elblein" Date: Tue, 27 Jun 2023 01:30:03 -0500 Subject: [PATCH 3/5] Create linkstack.subdomain.conf.sample For: https://hub.docker.com/r/linkstackorg/linkstack https://github.com/LinkStackOrg/LinkStack --- linkstack.subdomain.conf.sample | 44 +++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 linkstack.subdomain.conf.sample diff --git a/linkstack.subdomain.conf.sample b/linkstack.subdomain.conf.sample new file mode 100644 index 0000000..ead34f0 --- /dev/null +++ b/linkstack.subdomain.conf.sample @@ -0,0 +1,44 @@ +## Version 2023/06/27 +# make sure that your dns has a cname set for linkstack and that your linkstack container is not using a base url + +server { + listen 443 ssl; + listen [::]:443 ssl; + + server_name linkstack.*; + + include /config/nginx/ssl.conf; + + client_max_body_size 0; + + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; + + # enable for Authelia (requires authelia-location.conf in the location block) + #include /config/nginx/authelia-server.conf; + + # enable for Authentik (requires authentik-location.conf in the location block) + #include /config/nginx/authentik-server.conf; + + location / { + # enable the next two lines for http auth + #auth_basic "Restricted"; + #auth_basic_user_file /config/nginx/.htpasswd; + + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; + + # enable for Authelia (requires authelia-server.conf in the server block) + #include /config/nginx/authelia-location.conf; + + # enable for Authentik (requires authentik-server.conf in the server block) + #include /config/nginx/authentik-location.conf; + + include /config/nginx/proxy.conf; + include /config/nginx/resolver.conf; + set $upstream_app linkstack; + set $upstream_port 443; + set $upstream_proto https; + proxy_pass $upstream_proto://$upstream_app:$upstream_port; + } +} From 2319943669be9944ca36e6d207946d79c9118b27 Mon Sep 17 00:00:00 2001 From: beasthouse-au <78465928+beasthouse-au@users.noreply.github.com> Date: Sat, 5 Aug 2023 23:53:20 +1000 Subject: [PATCH 4/5] Add SaltRim Config Sample --- saltrim.subdomain.conf.sample | 45 +++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 saltrim.subdomain.conf.sample diff --git a/saltrim.subdomain.conf.sample b/saltrim.subdomain.conf.sample new file mode 100644 index 0000000..2a539de --- /dev/null +++ b/saltrim.subdomain.conf.sample @@ -0,0 +1,45 @@ +## Version 2023/08/05 +# make sure that your saltrim webserver container is named bar_assistant-webserver-1 or manually change to match the upstream_app below +# make sure that your dns has a cname set for bar_assistant-webserver-1 + +server { + listen 443 ssl; + listen [::]:443 ssl; + + server_name saltrim.*; + + include /config/nginx/ssl.conf; + + client_max_body_size 100M; + + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; + + # enable for Authelia (requires authelia-location.conf in the location block) + #include /config/nginx/authelia-server.conf; + + # enable for Authentik (requires authentik-location.conf in the location block) + #include /config/nginx/authentik-server.conf; + + location / { + # enable the next two lines for http auth + #auth_basic "Restricted"; + #auth_basic_user_file /config/nginx/.htpasswd; + + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; + + # enable for Authelia (requires authelia-server.conf in the server block) + #include /config/nginx/authelia-location.conf; + + # enable for Authentik (requires authentik-server.conf in the server block) + #include /config/nginx/authentik-location.conf; + + include /config/nginx/proxy.conf; + include /config/nginx/resolver.conf; + set $upstream_app bar_assistant-webserver-1; + set $upstream_port 3000; + set $upstream_proto http; + proxy_pass $upstream_proto://$upstream_app:$upstream_port; + } +} From 7c1909201caaf5cb9f8b9930d79cd9b1e6cbe174 Mon Sep 17 00:00:00 2001 From: beasthouse-au <78465928+beasthouse-au@users.noreply.github.com> Date: Sun, 6 Aug 2023 00:11:46 +1000 Subject: [PATCH 5/5] Update saltrim.subdomain.conf.sample --- saltrim.subdomain.conf.sample | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/saltrim.subdomain.conf.sample b/saltrim.subdomain.conf.sample index 2a539de..84fea2d 100644 --- a/saltrim.subdomain.conf.sample +++ b/saltrim.subdomain.conf.sample @@ -1,6 +1,6 @@ ## Version 2023/08/05 # make sure that your saltrim webserver container is named bar_assistant-webserver-1 or manually change to match the upstream_app below -# make sure that your dns has a cname set for bar_assistant-webserver-1 +# make sure that your dns has a cname set for saltrim server { listen 443 ssl;