Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for HTTPS and hosting at arbitrary URL path #11

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

nathanweeks
Copy link

The pong web server expects to be hosted at http://localhost:/

This PR adds support for running pong behind a reverse proxy w/ TLS termination, hosted at an arbitrary URL path (e.g., "/apps/pong/"). In particular, this allows pong to be hosted as a web app on the Open OnDemand platform, which reverse proxies to web apps at /[r]node/(host)/(port)(path): https://osc.github.io/ood-documentation/master/app-development/interactive/view.html?highlight=rnode#reverse-proxy .

@jnovembre used this in a recent workshop.

Assumes pong web server is behind a reverse proxy w/ TLS termination
Implemented via PONG_URL_PATH environment variable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant