Skip to content

Commit 122cca8

Browse files
authored
Update readme with warning for reverse proxy setups
1 parent b3870f6 commit 122cca8

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

plugins/LocalVisage/readme.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,17 @@ You have two options to use this image:
4242
- Run this to build it inside the plugin repo folder: `docker build --pull -t stashapp/stash:LocalVisage -f Dockerfile .`
4343
- Update your stash container configuration to expose a new port: `docker run -p 7860:7860 ... stashapp/stash:LocalVisage ...`
4444

45+
Once this image is built and running, you can skip the "Set Python Path" step below and enjoy the plugin!
46+
47+
> [!NOTE]
48+
> If you use a reverse proxy, you may encounter difficulties setting up the redirection to the deepface server.
49+
>
50+
> URL used by the plugin is hardcoded inside the `frontend.js` file:<br>
51+
> `window.location.protocol + "//" + window.location.hostname + ":7860"`
52+
>
53+
> e.g. using `https://stash.example.org` will send requests to `https://stash.example.org:7860`.<br>
54+
> But worse, using `https://example.com/stash` will use `https://example.com:7860`
55+
4556
## ⚙️ Tasks
4657

4758
| Task | Description |

0 commit comments

Comments
 (0)