From c4af0d05ec24240add8b0dbdc2e865e98f8d774a Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Tue, 24 Oct 2017 16:05:02 -0600 Subject: [PATCH] show that redirects can be to other domains --- README.md | 1 + etc/goldilocks/goldilocks.example.yml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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