remove unnecessary dependencies and update doc about certificate bundle

This commit is contained in:
bunkerity 2021-05-15 21:55:57 +02:00
parent 69f4657208
commit b3bb4ec40f
No known key found for this signature in database
GPG Key ID: 3D80806F12602A7C
2 changed files with 3 additions and 1 deletions

View File

@ -1,4 +1,4 @@
#!/bin/sh
# install dependencies
apk --no-cache add certbot libstdc++ libmaxminddb geoip pcre yajl clamav apache2-utils openssl lua libgd go jq mariadb-connector-c bash brotli
apk add clamav certbot bash libmaxminddb libgcc lua yajl libstdc++ apache2-utils

View File

@ -51,6 +51,8 @@ $ docker run -p 80:8080 \
bunkerity/bunkerized-nginx
```
Please note that if you have one or more intermediate certificate(s) in your chain of trust, you will need to provide the bundle to `CUSTOM_HTTPS_CERT` (more info [here](https://nginx.org/en/docs/http/configuring_https_servers.html#chains)).
### Self-signed certificate
This method is not recommended in production but can be used to quickly deploy HTTPS for testing purposes. Just use the `GENERATE_SELF_SIGNED_SSL=yes` environment variable and bunkerized-nginx will generate a self-signed certificate for you :