18 lines
642 B
Plaintext
18 lines
642 B
Plaintext
# Deploy beside the Core reverse proxy. Keep the plugin bound to loopback.
|
|
location /extensions/qiu.subscription-admin/ {
|
|
proxy_pass http://127.0.0.1:8091/;
|
|
proxy_http_version 1.1;
|
|
proxy_set_header Host $host;
|
|
proxy_set_header X-Forwarded-Host $host;
|
|
proxy_set_header X-Forwarded-Proto $scheme;
|
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
proxy_read_timeout 30s;
|
|
proxy_send_timeout 30s;
|
|
}
|
|
|
|
# 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'
|