From 0461bc52123bc0b7ee5754218d1bf88af05b3401 Mon Sep 17 00:00:00 2001 From: ZlabiDev Date: Sun, 5 Mar 2023 21:36:01 +0100 Subject: [PATCH 01/12] added nexusoss subdomain sample config --- nexusoss.subdomain.conf.sample | 43 ++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 nexusoss.subdomain.conf.sample diff --git a/nexusoss.subdomain.conf.sample b/nexusoss.subdomain.conf.sample new file mode 100644 index 0000000..0d21575 --- /dev/null +++ b/nexusoss.subdomain.conf.sample @@ -0,0 +1,43 @@ +## Version 2023/03/05 +# make sure that your nexusoss container is named nexusoss +# make sure that your dns has a cname set for nexusoss +# make sure that the port for the nexusoss container 8081 (the first location "/") +# make sure that the HTTP Connector port for the hosted docker repository is 8082 (the second location "/v2/") + +server { + listen 443 ssl; + listen [::]:443 ssl; + + server_name nexusoss.*; + + # allow large uploads of files - refer to nginx documentation + client_max_body_size 1G; + + include /config/nginx/ssl.conf; + + location / { + include /config/nginx/proxy.conf; + include /config/nginx/resolver.conf; + set $upstream_app nexusoss; + set $upstream_port 8081; + set $upstream_proto http; + proxy_pass $upstream_proto://$upstream_app:$upstream_port; + + proxy_set_header Host $host; + proxy_set_header X-Real-IP $remote_addr; + proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; + } + + location /v2/ { + include /config/nginx/proxy.conf; + include /config/nginx/resolver.conf; + set $upstream_app nexusoss; + set $upstream_port 8082; + set $upstream_proto http; + proxy_pass $upstream_proto://$upstream_app:$upstream_port; + + proxy_set_header Host $host; + proxy_set_header X-Real-IP $remote_addr; + proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; + } +} From 32ae405b04b3ccb5678bd2709cdbb8e45d4939c5 Mon Sep 17 00:00:00 2001 From: ZlabiDev Date: Sun, 5 Mar 2023 21:52:11 +0100 Subject: [PATCH 02/12] adda auth comments --- nexusoss.subdomain.conf.sample | 35 ++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/nexusoss.subdomain.conf.sample b/nexusoss.subdomain.conf.sample index 0d21575..786cff1 100644 --- a/nexusoss.subdomain.conf.sample +++ b/nexusoss.subdomain.conf.sample @@ -15,7 +15,29 @@ server { include /config/nginx/ssl.conf; + # 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 nexusoss; @@ -29,6 +51,19 @@ server { } location /v2/ { + # 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 nexusoss; From 2e9c8b5b8cf37f41dcf440cd33ae1f10020ca40b Mon Sep 17 00:00:00 2001 From: ZlabiDev Date: Sun, 5 Mar 2023 23:47:23 +0100 Subject: [PATCH 03/12] Codereview impl --- nexusoss.subdomain.conf.sample | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/nexusoss.subdomain.conf.sample b/nexusoss.subdomain.conf.sample index 786cff1..dd47e85 100644 --- a/nexusoss.subdomain.conf.sample +++ b/nexusoss.subdomain.conf.sample @@ -10,9 +10,6 @@ server { server_name nexusoss.*; - # allow large uploads of files - refer to nginx documentation - client_max_body_size 1G; - include /config/nginx/ssl.conf; # enable for ldap auth (requires ldap-location.conf in the location block) @@ -44,10 +41,6 @@ server { set $upstream_port 8081; set $upstream_proto http; proxy_pass $upstream_proto://$upstream_app:$upstream_port; - - proxy_set_header Host $host; - proxy_set_header X-Real-IP $remote_addr; - proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; } location /v2/ { @@ -70,9 +63,5 @@ server { set $upstream_port 8082; set $upstream_proto http; proxy_pass $upstream_proto://$upstream_app:$upstream_port; - - proxy_set_header Host $host; - proxy_set_header X-Real-IP $remote_addr; - proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; } } From 67bdefd5d66efd58a34ec00df66fd987875d082e Mon Sep 17 00:00:00 2001 From: ZlabiDev Date: Sat, 11 Mar 2023 13:08:38 +0100 Subject: [PATCH 04/12] addad sample config for fenrus dashboard --- fenrus.subdomain.conf.sample | 43 ++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 fenrus.subdomain.conf.sample diff --git a/fenrus.subdomain.conf.sample b/fenrus.subdomain.conf.sample new file mode 100644 index 0000000..826f5de --- /dev/null +++ b/fenrus.subdomain.conf.sample @@ -0,0 +1,43 @@ +## Version 2023/03/11 +# make sure that your container is named Fenrus +# make sure that your dns has a cname set for fenrus.example.com + +server { + listen 443 ssl; + listen [::]:443 ssl; + + server_name fenrus.*; + + include /config/nginx/ssl.conf; + + # 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 Fenrus; + set $upstream_port 3000; + set $upstream_proto http; + proxy_pass $upstream_proto://$upstream_app:$upstream_port; + } +} From 5cf26306175af7a2377d36fd93442d2e771d3225 Mon Sep 17 00:00:00 2001 From: ZlabiDev Date: Sun, 12 Mar 2023 10:14:45 +0100 Subject: [PATCH 05/12] Update fenrus.subdomain.conf.sample Co-authored-by: Eric Nemchik --- fenrus.subdomain.conf.sample | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fenrus.subdomain.conf.sample b/fenrus.subdomain.conf.sample index 826f5de..2a4f133 100644 --- a/fenrus.subdomain.conf.sample +++ b/fenrus.subdomain.conf.sample @@ -35,7 +35,7 @@ server { include /config/nginx/proxy.conf; include /config/nginx/resolver.conf; - set $upstream_app Fenrus; + set $upstream_app fenrus; set $upstream_port 3000; set $upstream_proto http; proxy_pass $upstream_proto://$upstream_app:$upstream_port; From 96fa6c86876ed0dbcc2bb767cdb2a0e1066d390d Mon Sep 17 00:00:00 2001 From: ZlabiDev Date: Sun, 12 Mar 2023 10:14:54 +0100 Subject: [PATCH 06/12] Update fenrus.subdomain.conf.sample Co-authored-by: Eric Nemchik --- fenrus.subdomain.conf.sample | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fenrus.subdomain.conf.sample b/fenrus.subdomain.conf.sample index 2a4f133..58842f7 100644 --- a/fenrus.subdomain.conf.sample +++ b/fenrus.subdomain.conf.sample @@ -1,5 +1,5 @@ ## Version 2023/03/11 -# make sure that your container is named Fenrus +# make sure that your fenrus container is named fenrus # make sure that your dns has a cname set for fenrus.example.com server { From 12687cd8cef39b71119543b1ddcde5f09fb6f118 Mon Sep 17 00:00:00 2001 From: ZlabiDev Date: Sun, 12 Mar 2023 10:15:33 +0100 Subject: [PATCH 07/12] Update fenrus.subdomain.conf.sample Co-authored-by: Eric Nemchik --- fenrus.subdomain.conf.sample | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fenrus.subdomain.conf.sample b/fenrus.subdomain.conf.sample index 58842f7..788ec7d 100644 --- a/fenrus.subdomain.conf.sample +++ b/fenrus.subdomain.conf.sample @@ -1,6 +1,6 @@ ## Version 2023/03/11 # make sure that your fenrus container is named fenrus -# make sure that your dns has a cname set for fenrus.example.com +# make sure that your dns has a cname set for fenrus server { listen 443 ssl; From 1bbbfc303d64f497b56d01a97c73355d1b4e461b Mon Sep 17 00:00:00 2001 From: ZlabiDev Date: Sun, 12 Mar 2023 12:14:08 +0100 Subject: [PATCH 08/12] added wordpress subdomain config sample --- wordpress.subdomain.conf.sample | 44 +++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 wordpress.subdomain.conf.sample diff --git a/wordpress.subdomain.conf.sample b/wordpress.subdomain.conf.sample new file mode 100644 index 0000000..dfacc01 --- /dev/null +++ b/wordpress.subdomain.conf.sample @@ -0,0 +1,44 @@ +## Version 2023/03/12 +# make sure that your wordpress container is named wordpress +# make sure that your dns has a cname set for wordpress + +server { + listen 443 ssl; + listen [::]:443 ssl; + + server_name wordpress.*; + + include /config/nginx/ssl.conf; + + # 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 wordpress; + set $upstream_port 80; + set $upstream_proto http; + proxy_pass $upstream_proto://$upstream_app:$upstream_port; + + } +} From 31eef0689f648302abd8a0a65e33db0e89ba69a2 Mon Sep 17 00:00:00 2001 From: Eric Nemchik Date: Fri, 17 Mar 2023 14:03:36 +0000 Subject: [PATCH 09/12] Add grav subdomain --- grav.subdomain.conf.sample | 47 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 grav.subdomain.conf.sample diff --git a/grav.subdomain.conf.sample b/grav.subdomain.conf.sample new file mode 100644 index 0000000..2716cd4 --- /dev/null +++ b/grav.subdomain.conf.sample @@ -0,0 +1,47 @@ +## Version 2023/03/17 +# make sure that your grav container is named grav +# make sure that your dns has a cname set for grav + +server { + listen 443 ssl; + listen [::]:443 ssl; + + server_name grav.*; + + 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 grav; + set $upstream_port 80; + set $upstream_proto http; + proxy_pass $upstream_proto://$upstream_app:$upstream_port; + + } + +} From 7e1c2f608f424b4c5db222ddd659756a16d40877 Mon Sep 17 00:00:00 2001 From: ZlabiDev Date: Sat, 18 Mar 2023 07:46:22 +0100 Subject: [PATCH 10/12] client_max_body_size line added --- nexusoss.subdomain.conf.sample | 2 ++ wordpress.subdomain.conf.sample | 2 ++ 2 files changed, 4 insertions(+) diff --git a/nexusoss.subdomain.conf.sample b/nexusoss.subdomain.conf.sample index dd47e85..a5a0ccd 100644 --- a/nexusoss.subdomain.conf.sample +++ b/nexusoss.subdomain.conf.sample @@ -12,6 +12,8 @@ server { 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; diff --git a/wordpress.subdomain.conf.sample b/wordpress.subdomain.conf.sample index dfacc01..b29dcdb 100644 --- a/wordpress.subdomain.conf.sample +++ b/wordpress.subdomain.conf.sample @@ -10,6 +10,8 @@ server { 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; From 49187b4d3b2a0194ab51c40c2a0a09ca0d865d6b Mon Sep 17 00:00:00 2001 From: ZlabiDev Date: Sat, 18 Mar 2023 07:47:47 +0100 Subject: [PATCH 11/12] added client_max_body_size --- fenrus.subdomain.conf.sample | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fenrus.subdomain.conf.sample b/fenrus.subdomain.conf.sample index 788ec7d..39d55ed 100644 --- a/fenrus.subdomain.conf.sample +++ b/fenrus.subdomain.conf.sample @@ -10,6 +10,8 @@ server { 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; From a60417453935eddda36ebdb3a79bd1910465289c Mon Sep 17 00:00:00 2001 From: aptalca <541623+aptalca@users.noreply.github.com> Date: Tue, 21 Mar 2023 16:56:51 -0400 Subject: [PATCH 12/12] add new project workflow, delete invalid helper, update .gitignore --- .github/workflows/call-issue-pr-tracker.yml | 14 ++++++++++++++ .github/workflows/call_invalid_helper.yml | 12 ------------ .gitignore | 1 + 3 files changed, 15 insertions(+), 12 deletions(-) create mode 100644 .github/workflows/call-issue-pr-tracker.yml delete mode 100644 .github/workflows/call_invalid_helper.yml diff --git a/.github/workflows/call-issue-pr-tracker.yml b/.github/workflows/call-issue-pr-tracker.yml new file mode 100644 index 0000000..87243e2 --- /dev/null +++ b/.github/workflows/call-issue-pr-tracker.yml @@ -0,0 +1,14 @@ +name: Issue & PR Tracker + +on: + issues: + types: [opened,reopened,labeled,unlabeled] + pull_request_target: + types: [opened,reopened,review_requested,review_request_removed,labeled,unlabeled] + +jobs: + manage-project: + permissions: + issues: write + uses: linuxserver/github-workflows/.github/workflows/issue-pr-tracker.yml@v1 + secrets: inherit diff --git a/.github/workflows/call_invalid_helper.yml b/.github/workflows/call_invalid_helper.yml deleted file mode 100644 index 773767c..0000000 --- a/.github/workflows/call_invalid_helper.yml +++ /dev/null @@ -1,12 +0,0 @@ -name: Comment on invalid interaction -on: - issues: - types: - - labeled -jobs: - add-comment-on-invalid: - if: github.event.label.name == 'invalid' - permissions: - issues: write - uses: linuxserver/github-workflows/.github/workflows/invalid-interaction-helper.yml@v1 - secrets: inherit diff --git a/.gitignore b/.gitignore index 70f62d6..4d6f44d 100644 --- a/.gitignore +++ b/.gitignore @@ -5,6 +5,7 @@ !.editorconfig !.gitattributes !.github +!.github/** !.gitignore !*.conf.sample !LICENSE