From c16415c8a519cb56ab3c6620638207d8a5d1b1b8 Mon Sep 17 00:00:00 2001 From: Hache_raw Date: Fri, 16 Jan 2026 20:26:29 +0000 Subject: [PATCH 1/3] Added conf for firefly-pico container --- firefly-pico.subdomain.conf.sample | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 firefly-pico.subdomain.conf.sample diff --git a/firefly-pico.subdomain.conf.sample b/firefly-pico.subdomain.conf.sample new file mode 100644 index 00000000..65413285 --- /dev/null +++ b/firefly-pico.subdomain.conf.sample @@ -0,0 +1,25 @@ +## Version 2026/01/16 +# make sure that your firefly-pico container is named firefly-pico +# make sure that your dns has a cname set for firefly-pico + +server { + listen 443 ssl; + listen [::]:443 ssl; + + server_name firefly-pico.*; + + include /config/nginx/ssl.conf; + + client_max_body_size 0; + + location / { + include /config/nginx/proxy.conf; + include /config/nginx/resolver.conf; + + set $upstream_app firefly-pico; + set $upstream_port 80; + set $upstream_proto http; + + proxy_pass $upstream_proto://$upstream_app:$upstream_port; + } +} From 53039d9c4509c76ef047223caf7b227c83faa957 Mon Sep 17 00:00:00 2001 From: Hache_raw Date: Fri, 16 Jan 2026 20:31:19 +0000 Subject: [PATCH 2/3] Added comments --- firefly-pico.subdomain.conf.sample | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/firefly-pico.subdomain.conf.sample b/firefly-pico.subdomain.conf.sample index 65413285..f92701b2 100644 --- a/firefly-pico.subdomain.conf.sample +++ b/firefly-pico.subdomain.conf.sample @@ -12,7 +12,36 @@ server { 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; + + # enable for Tinyauth (requires tinyauth-location.conf in the location block) + #include /config/nginx/tinyauth-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; + + # enable for Tinyauth (requires tinyauth-server.conf in the server block) + #include /config/nginx/tinyauth-location.conf; + include /config/nginx/proxy.conf; include /config/nginx/resolver.conf; From 95fdc501d66d71826e7931836bd20a270b3c56e3 Mon Sep 17 00:00:00 2001 From: Hache_raw Date: Fri, 16 Jan 2026 20:39:35 +0000 Subject: [PATCH 3/3] changed CRLF to LF I used the github editor online and didn't notice line endings --- firefly-pico.subdomain.conf.sample | 108 ++++++++++++++--------------- 1 file changed, 54 insertions(+), 54 deletions(-) diff --git a/firefly-pico.subdomain.conf.sample b/firefly-pico.subdomain.conf.sample index f92701b2..b7026a6a 100644 --- a/firefly-pico.subdomain.conf.sample +++ b/firefly-pico.subdomain.conf.sample @@ -1,54 +1,54 @@ -## Version 2026/01/16 -# make sure that your firefly-pico container is named firefly-pico -# make sure that your dns has a cname set for firefly-pico - -server { - listen 443 ssl; - listen [::]:443 ssl; - - server_name firefly-pico.*; - - 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; - - # enable for Tinyauth (requires tinyauth-location.conf in the location block) - #include /config/nginx/tinyauth-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; - - # enable for Tinyauth (requires tinyauth-server.conf in the server block) - #include /config/nginx/tinyauth-location.conf; - - include /config/nginx/proxy.conf; - include /config/nginx/resolver.conf; - - set $upstream_app firefly-pico; - set $upstream_port 80; - set $upstream_proto http; - - proxy_pass $upstream_proto://$upstream_app:$upstream_port; - } -} +## Version 2026/01/16 +# make sure that your firefly-pico container is named firefly-pico +# make sure that your dns has a cname set for firefly-pico + +server { + listen 443 ssl; + listen [::]:443 ssl; + + server_name firefly-pico.*; + + 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; + + # enable for Tinyauth (requires tinyauth-location.conf in the location block) + #include /config/nginx/tinyauth-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; + + # enable for Tinyauth (requires tinyauth-server.conf in the server block) + #include /config/nginx/tinyauth-location.conf; + + include /config/nginx/proxy.conf; + include /config/nginx/resolver.conf; + + set $upstream_app firefly-pico; + set $upstream_port 80; + set $upstream_proto http; + + proxy_pass $upstream_proto://$upstream_app:$upstream_port; + } +}