diff --git a/README.md b/README.md index c2d41fe..ee74206 100644 --- a/README.md +++ b/README.md @@ -178,6 +178,7 @@ to The new URL path which should be used. If wildcards matches were used they will be available as `:1`, `:2`, etc. ex: /pics/ ex: /pics/:1/:2/ + ex: https://mydomain.com/photos/:1/:2/ ``` Example config: diff --git a/etc/goldilocks/goldilocks.example.yml b/etc/goldilocks/goldilocks.example.yml index 38ec6b5..4df18ca 100644 --- a/etc/goldilocks/goldilocks.example.yml +++ b/etc/goldilocks/goldilocks.example.yml @@ -75,7 +75,7 @@ http: - localhost.beta.daplie.me status: 301 from: /old/path/*/other/* - to: /path/new/:2/something/:1 + to: https://example.com/path/new/:2/something/:1 - name: proxy domains: - localhost.daplie.me