Skip to content
This repository has been archived by the owner on Mar 1, 2023. It is now read-only.

how to use the rule? #47

Open
liuyinltemp opened this issue Aug 6, 2019 · 0 comments
Open

how to use the rule? #47

liuyinltemp opened this issue Aug 6, 2019 · 0 comments

Comments

@liuyinltemp
Copy link

liuyinltemp commented Aug 6, 2019

First is right:
xxx.com:443 {
tls /usr/local/bin/cert/xxx.crt /usr/local/bin/cert/xxx.key
root /www
gzip
index index.html
proxy / https://github.com
}
Next is wrong:
xxx.com:443 {
tls /usr/local/bin/cert/xxx.crt /usr/local/bin/cert/xxx.key
root /www
gzip
index index.html
proxy / https://github.com
filter rule {
path .*.html
search_pattern


replacement
}
}

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

1 participant