eugene-khyst / letsencrypt-docker-compose

Set up Nginx and Let’s Encrypt in less than 3 minutes with a Docker Compose project that automatically obtains and renews free Let's Encrypt SSL/TLS certificates and sets up HTTPS in Nginx for multiple domain names. Configuration is done using a simple CLI tool.
Apache License 2.0
473 stars 218 forks source link

Improve Nginx log_format adding $http_host #60

Closed tka85 closed 1 year ago

tka85 commented 1 year ago

The common use case of serving as a rev-proxy to multiple docker containers can benefit by adding to the Nginx logs the host for which the request is being made.