GitXplorerGitXplorer
R

skwr-web-nginx

public
0 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
b89706d7ce7883a85d20d17a8a2d60315969cc56

Service online

RRoming22 committed 5 years ago
Unverified
bf2d90df451d31b6fc19d904db17d7029319e1bc

Initial commit

RRoming22 committed 5 years ago

README

The README file for this repository.

NGINX reverse proxy for SKWR

Goal

Entry point for everything web related.

  • Do not add your website to this image.
  • Create a container with the website accessible through the port 8000.
  • Add DOCKER_NETWORK="web" to etc/service.cfg so that your container starts on the same network as nginx.
  • The nginx container will automatically find containers which accept connections on the port 8000 and will add them to its configuration under $DOMAIN/$CONTAINER_NAME.

You can check the skwr-python-server for an example.

Configuration

Run configure.sh before starting the container to create the secret holding your configuration and default certificates for https.

HTTPS support

Add your certificates to volumes/etc/secret/certs. They should be named $DOMAIN.crt and $DOMAIN.key.