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.
|
||||
ex: /pics/
|
||||
ex: /pics/:1/:2/
|
||||
ex: https://mydomain.com/photos/:1/:2/
|
||||
```
|
||||
|
||||
Example config:
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue