Skip to content

Latest commit

 

History

History

nginx

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Prerequisites

Read self-hosting docs

Let's Encrypt

Generate your certificates and make note of where they are stored. if you use certbot, they are generally in /etc/letsencrypt/live.

Generate strong dhparam

sudo openssl dhparam -out dhparam.pem 4096

Configure mounts for nginx

The compose.yml may need some adjusting to properly mount your specific let's encrypt and dhparam certs.

Rspamd web ui

This nginx configuration supports rspamd web ui out of the box. if you choose to not run rspamd, make sure to remove the RSPAMD_ENABLE variable in addy.env and remove the proxy block in nginx/templates/default.conf.template.