Skip to content

Support serving from a subpath (ie /pagerbeauty) #113

@tomwilkie

Description

@tomwilkie

Is your feature request related to a problem? Please describe.

I'd like to run pagerbeauty and serve is form a subpath (ie /pagerbeauty). We have a single https endpoint for tools, with an nginx forwarding various subpaths to those. This allows us to do access control centrally.

Describe the solution you'd like

An env var PAGERBEAUTY_HTTP_PATH=/pagerbeauty

Describe alternatives you've considered

I've tried having the nginx do all the rewrites in front of pagerbeauty, and got quite far - the redirect, the embedded scripts and styles etc. But the AJAX fetch of schedules.json is too much for a nginx rewrite.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions