show that redirects can be to other domains

This commit is contained in:
AJ ONeal 2017-10-24 16:05:02 -06:00
parent 019ec2b990
commit c4af0d05ec
2 changed files with 2 additions and 1 deletions

View File

@ -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. If wildcards matches were used they will be available as `:1`, `:2`, etc.
ex: /pics/ ex: /pics/
ex: /pics/:1/:2/ ex: /pics/:1/:2/
ex: https://mydomain.com/photos/:1/:2/
``` ```
Example config: Example config:

View File

@ -75,7 +75,7 @@ http:
- localhost.beta.daplie.me - localhost.beta.daplie.me
status: 301 status: 301
from: /old/path/*/other/* from: /old/path/*/other/*
to: /path/new/:2/something/:1 to: https://example.com/path/new/:2/something/:1
- name: proxy - name: proxy
domains: domains:
- localhost.daplie.me - localhost.daplie.me