SMNRPX is a reverse proxy based on nginx, configured with one YAML file. The full documentation, with every configuration option, is in the README on GitHub.
alias) and redirectsContent-Security-Policy, OCSP stapling421 for https requests whose Host differs from the TLS server nameauth_request / oauth2-proxy checks per locationsmnrp.yml:
domains:
dom.org:
sans:
- www.dom.org
upstreams:
api:
- api:5000
locations:
- proxy:
uri: /api/
proto: http
upstream: api
path: /api/
docker-compose.yml:
configs:
smnrp:
file: ./smnrp.yml
volumes:
smnrp_data:
services:
ws:
image: ethnexus/smnrpx
ports:
- 80:80
- 443:443
configs:
- source: smnrp
target: /run/configs/smnrp.yml
volumes:
# Keep the certificates, or Let's Encrypt may block new requests for a day.
- smnrp_data:/etc/letsencrypt
restart: unless-stopped
latest, <major>, <major>.<minor>, <version>: releases-net-bind variants (for example 3-net-bind): for chaining instances with network_mode: hostmain: the current main branch, not for productionMigrating from ethnexus/smnrp? The migration guide shows how the
environment variables map to the YAML file.
docker pull ethnexus/smnrpx:latest