Skip to content

Documentation on how to properly setup docker container with nginx ssl proxy #43

Open
@krilson

Description

@krilson

Is your feature request related to a problem? Please describe.
Running nostrcheck-server via docker and an nginx ssl proxy running on the docker host. When switching nostrcheck-server to production mode the login fails (via signer and one time code). On login, the browser console says: POST domani/api/v2/login 400 Bad request. No other useful feedback in the logs. The login page only displays a yellow warning icon, no text description of what is the issue.

Describe the solution you'd like
Documentation on how to run in this kind of setup via nginx on the docker host. I assume traefik has to be setup correctly to trust the connection coming from nginx is in fact ssl?

Alternativly a docker compose file with this kind of setup via nginx on the docker host in mind (skipping traefik maybe?)

Metadata

Metadata

Labels

documentationImprovements or additions to documentationenhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions