Repository navigation
Document config.json setup behind a reverse proxy - #1876
Closed
Saifjafri212213 wants to merge 1 commit into
Closed
Saifjafri212213 wants to merge 1 commit into
Saifjafri212213 wants to merge 1 commit into
Conversation
Explain the difference between port and serverUri, TLS options between the proxy and solid-server, required proxy headers (Host, WebSocket upgrade), multi-user mode, and add example NGINX and Apache configurations. Closes nodeSolidServer#819
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #819
Adds
docs/reverse-proxy.mdand links it from the README's "Running Solid behind a reverse proxy" section.The page covers:
portvs.serverUri:portis the internal port the proxy forwards to;serverUriis the public URL and should not include the internal port.sslKey/sslCert(HTTPS backend) vs. omitting them (plain HTTP backend), including the note that session cookies are only markedSecurewhensslKeyis set.Hostheader (used to resolve pods, especially in multi-user mode), WebSocket upgrade headers for live updates, and longer timeouts.server_name.The NGINX example is based on the existing wiki page and the solidweb.org setup shared in the issue, with WebSocket headers added. The Apache example hasn't been tested; feedback from anyone running Apache is welcome.