https://github.com/smkent/nginx-http-connect
Container for nginx with HTTP CONNECT support
https://github.com/smkent/nginx-http-connect
Last synced: about 2 months ago
JSON representation
Container for nginx with HTTP CONNECT support
- Host: GitHub
- URL: https://github.com/smkent/nginx-http-connect
- Owner: smkent
- License: mit
- Created: 2022-10-19T00:49:04.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-12-24T05:12:15.000Z (over 1 year ago)
- Last Synced: 2025-01-28T14:15:09.283Z (4 months ago)
- Language: Dockerfile
- Size: 22.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# nginx-http-connect: Container for nginx with HTTP CONNECT support
[][gh-actions]
[][repo]# Features
* Support for HTTP CONNECT via [ngx_http_proxy_connect_module][patch]
* Automatic reload when the SSL certificates or config templates change
* Optional mapped host names available as nginx variables
* [`tini`][tini] as `init`# Usage with docker-compose
Example `docker-compose.yaml`:
```yaml
version: '3.7'services:
nginx:
image: ghcr.io/smkent/nginx-http-connect:latest
ports:
- "80:80"
- "443:443"
# environment:
# NGINX_INOTIFY_RELOAD: no # Uncomment to disable reload on config changes
# extra_hosts:
# gw: host-gateway # Uncomment to map "$gw" to the Docker host IP
restart: unless-stopped
volumes:
- path/to/certbot/data:/etc/letsencrypt:ro # Optional
- path/to/templates:/etc/nginx/templates:ro # nginx config templates
```---
Created from [smkent/cookie-docker][cookie-docker] using
[cookiecutter][cookiecutter][cookie-docker]: https://github.com/smkent/cookie-docker
[cookiecutter]: https://github.com/cookiecutter/cookiecutter
[gh-actions]: https://github.com/smkent/nginx-http-connect/actions?query=branch%3Amain
[repo]: https://github.com/smkent/nginx-http-connect
[tini]: https://github.com/krallin/tini
[patch]: https://github.com/chobits/ngx_http_proxy_connect_module