Files
sub2api-add/plugins/subscription-admin/deploy/nginx.conf.example
T
Qiufeng 5feae3ad41
Business Plugins CI / check (plugin-admin) (push) Successful in 3m13s
Business Plugins CI / check (subscription-admin) (push) Successful in 1m41s
chore: initialize standalone business plugin repository
2026-08-27 23:36:08 +08:00

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'