Valian / docker-nginx-auto-ssl

Docker image for automatic generation of SSL certs using Let's encrypt and Open Resty
https://hub.docker.com/r/valian/docker-nginx-auto-ssl/
MIT License
405 stars 101 forks source link

update ssl.conf to use headers-more-nginx-module included with openresty #64

Closed siebo closed 8 months ago

siebo commented 8 months ago

The current ssl.conf references the ngx_http_headers_module which is not included with openresty.

We can instead use the headers-more-nginx-module which ships with openresty, enabling STS to be activated simply by uncommenting the line, which makes for an easier and more surgical activation of this feature.

Valian commented 8 months ago

Thank you! 👍 👍 👍