13 lines
389 B
Caddyfile
13 lines
389 B
Caddyfile
# Keep the plugin service private on loopback; expose it behind HTTPS.
|
|
CORE_ORIGIN {
|
|
handle_path /extensions/qiu.subscription-admin/* {
|
|
reverse_proxy 127.0.0.1:8091
|
|
}
|
|
}
|
|
|
|
# Start the plugin with:
|
|
# PLUGIN_PUBLIC_BASE_PATH=/extensions/qiu.subscription-admin
|
|
# PLUGIN_COOKIE_PATH=/extensions/qiu.subscription-admin/
|
|
# PLUGIN_COOKIE_SECURE=true
|
|
# PLUGIN_FRAME_ANCESTORS='self'
|