show that redirects can be to other domains
This commit is contained in:
parent
019ec2b990
commit
c4af0d05ec
|
@ -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:
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue