Load Wasm plugins with HTTP/HTTPS protocol
File Requirement
Considering convenience, it is recommended that the target URL point directly to the Wasm file.
HTTP Protocol
Just set the URL directly. But the URL must be accessible inside the gateway container. You can test it using the curl
command.
HTTPS Protocol
The configuration is similar with HTTP protocol. But if the server uses an untrusted certificate, for example, a self-signed certificate, you need to add the following environment variable to the gateway container, to make it trust all the server-returned HTTPS certificates.
WASM_INSECURE_REGISTRIES=*