From f9e1e48bf659b203d4f0e9271ee7ff95997ca898 Mon Sep 17 00:00:00 2001 From: jlssmt Date: Thu, 12 Sep 2024 16:05:19 +0200 Subject: [PATCH 1/6] added paperless api --- paperless.subdomain.conf.sample | 10 ++++++++++ paperless.subfolder.conf.sample | 10 ++++++++++ 2 files changed, 20 insertions(+) diff --git a/paperless.subdomain.conf.sample b/paperless.subdomain.conf.sample index 7692091..c4f070d 100644 --- a/paperless.subdomain.conf.sample +++ b/paperless.subdomain.conf.sample @@ -43,4 +43,14 @@ server { proxy_pass $upstream_proto://$upstream_app:$upstream_port; } + + location ~ (/paperless)?/api { + include /config/nginx/proxy.conf; + include /config/nginx/resolver.conf; + set $upstream_app paperless; + set $upstream_port 8000; + set $upstream_proto http; + proxy_pass $upstream_proto://$upstream_app:$upstream_port; + + } } diff --git a/paperless.subfolder.conf.sample b/paperless.subfolder.conf.sample index 73f6baf..f51996d 100644 --- a/paperless.subfolder.conf.sample +++ b/paperless.subfolder.conf.sample @@ -28,3 +28,13 @@ location ^~ /paperless/ { proxy_pass $upstream_proto://$upstream_app:$upstream_port; } + +location ~ (/paperless)?/api { + include /config/nginx/proxy.conf; + include /config/nginx/resolver.conf; + set $upstream_app paperless; + set $upstream_port 8000; + set $upstream_proto http; + proxy_pass $upstream_proto://$upstream_app:$upstream_port; + +} From 7fe2341520eb694a7fde44f02b3a006aa1989348 Mon Sep 17 00:00:00 2001 From: laur Date: Tue, 22 Oct 2024 17:51:25 +0200 Subject: [PATCH 2/6] recipes.subdomain.conf: remove comment containing dead URL - note our sample already contains the authelia info that's in-line with all other proxy confs; no need for additional instructions --- recipes.subdomain.conf.sample | 3 --- 1 file changed, 3 deletions(-) diff --git a/recipes.subdomain.conf.sample b/recipes.subdomain.conf.sample index 2c772ea..4789c76 100644 --- a/recipes.subdomain.conf.sample +++ b/recipes.subdomain.conf.sample @@ -3,9 +3,6 @@ # make sure that your dns has a cname set for recipes # make sure to mount /media/ in your swag container to point to your Recipes Media directory -# if using Authelia use this one: -# Doc: https://vabene1111.github.io/recipes/install/docker/#using-proxy-authentication - server { listen 443 ssl; listen [::]:443 ssl; From f1d1b33c18645acf67439310700fc976ab321bdc Mon Sep 17 00:00:00 2001 From: pagdot Date: Sun, 27 Oct 2024 18:51:25 +0100 Subject: [PATCH 3/6] Update port in maintainerr.subdomain.conf.sample default port changed in v2.0.0 https://github.com/jorenn92/Maintainerr/releases/tag/v2.0.0 --- maintainerr.subdomain.conf.sample | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/maintainerr.subdomain.conf.sample b/maintainerr.subdomain.conf.sample index b596d18..c89d202 100644 --- a/maintainerr.subdomain.conf.sample +++ b/maintainerr.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2024/07/16 +## Version 2024/10/27 # make sure that your maintainerr container is named maintainerr # make sure that your dns has a cname set for maintainerr @@ -38,7 +38,7 @@ server { include /config/nginx/proxy.conf; include /config/nginx/resolver.conf; set $upstream_app maintainerr; - set $upstream_port 80; + set $upstream_port 6246; set $upstream_proto http; proxy_pass $upstream_proto://$upstream_app:$upstream_port; From dff308b84b84fbc9597c68cba9de821562478e5c Mon Sep 17 00:00:00 2001 From: pagdot Date: Sun, 27 Oct 2024 18:54:08 +0100 Subject: [PATCH 4/6] Update maintainerr.subdomain.conf.sample --- maintainerr.subdomain.conf.sample | 1 + 1 file changed, 1 insertion(+) diff --git a/maintainerr.subdomain.conf.sample b/maintainerr.subdomain.conf.sample index c89d202..c4dad52 100644 --- a/maintainerr.subdomain.conf.sample +++ b/maintainerr.subdomain.conf.sample @@ -1,6 +1,7 @@ ## Version 2024/10/27 # make sure that your maintainerr container is named maintainerr # make sure that your dns has a cname set for maintainerr +# maintainerr v2.0.0+ only server { listen 443 ssl; From 869771c29b07c285eba322c59fb3617d62458aab Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 28 Oct 2024 20:34:08 +0000 Subject: [PATCH 5/6] Bump actions/checkout from 4.1.7 to 4.2.2 Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.7 to 4.2.2. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v4.1.7...v4.2.2) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .github/workflows/check_samples.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/check_samples.yml b/.github/workflows/check_samples.yml index b9fd5b1..429705d 100644 --- a/.github/workflows/check_samples.yml +++ b/.github/workflows/check_samples.yml @@ -12,7 +12,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v4.1.7 + uses: actions/checkout@v4.2.2 - name: Check Allowed File Names run: | From 4427db3045bda1166a087a1cc0d2832c73cb4e06 Mon Sep 17 00:00:00 2001 From: pagdot Date: Wed, 6 Nov 2024 12:43:04 +0100 Subject: [PATCH 6/6] Update maintainerr.subdomain.conf.sample add note about previous port --- maintainerr.subdomain.conf.sample | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/maintainerr.subdomain.conf.sample b/maintainerr.subdomain.conf.sample index c4dad52..ef55649 100644 --- a/maintainerr.subdomain.conf.sample +++ b/maintainerr.subdomain.conf.sample @@ -1,7 +1,7 @@ ## Version 2024/10/27 # make sure that your maintainerr container is named maintainerr # make sure that your dns has a cname set for maintainerr -# maintainerr v2.0.0+ only +# maintainerr v2.0.0+ only. for prior versions, set upstream_port to 80 server { listen 443 ssl;