Installation
This document describe how to install edge-cli. We will need to access the following public network addresses.
oredgeoredge is a command line utility for OpenResty Edge.
This document describe how to install edge-cli. We will need to access the following public network addresses.
The default config file is ~/.oredge/config. oredge help will print the usage of the command.
app.
–http HTTP_APP_ID Specify to which HTTP application the cache is purged. HTTPAPPID is the ID of the HTTP application.
socks5-proxy.
http-proxy.
gateway.
dns.
http-var.
k8s.
upstream.
This command corresponds to the functions on the page of page rules. For how to specify a page rule, check rule definition part.
create a A DNS record for DNS id 1(foo.com), then the DNS query A record for tt.foo.com return 10.1.1.1 create a CNAME DNS record for DNS id.
create HTTP proxy authentication. create HTTP proxy authentication with –start-time and –end-time modify HTTP proxy authentication.
cert.
txlog.
PARTITION_ID Specify the partition you want to configure. –worker-connections number Specify the number of worker connections.
test.
port.
partition.
user.
user-group.
webhook.
waf.
lua-module.
create lua extension with trigger type event. create lua extension with trigger type corn.
dymetrics.
layer-policy.
acme-provider.
This command corresponds to the function on the page of application IP list. This command can create an app-ip-list in an application.
This command corresponds to the function on the page of global cert. This command is used to create a global-cert.
This command corresponds to the function on the page of global IP list. This command can create a global-ip-list.