diff --git a/Proxy-examples.md b/Proxy-examples.md
index 69b47d1..af8081b 100644
--- a/Proxy-examples.md
+++ b/Proxy-examples.md
@@ -118,9 +118,12 @@ If you prefer, you can also directly specify a value instead of substituting an
In this example Vaultwarden will be available via https://shared.example.tld/vault/
If you want to use any other sub-path, like `vaultwarden` or `secret-vault` you should change `vault` in the example below to match.
+You will also need to include the sub-path in the DOMAIN env var value for proxying to work successfully (e.g. DOMAIN: "https://shared.example.tld/vault")
+
```lighttpd
server.modules += (
-"mod_openssl"
+"mod_openssl",
+"mod_redirect"
)
$SERVER["socket"] == ":443" {
@@ -133,7 +136,7 @@ $SERVER["socket"] == ":443" {
$SERVER["socket"] == ":80" {
$HTTP["host"] =~ "vaultwarden.example.tld" {
url.redirect = ( "^/(.*)" => "https://shared.example.tld/$1" )
- server.name = "shared.example.tld"
+ server.name = "shared.example.tld"
}
}