show that redirects can be to other domains

Este commit está contenido en:
AJ ONeal 2017-10-24 16:05:02 -06:00
padre 019ec2b990
commit c4af0d05ec
Se han modificado 2 ficheros con 2 adiciones y 1 borrados

Ver fichero

@ -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:

Ver fichero

@ -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