add nginx root directory docs

This commit is contained in:
Anish Lakhwara 2023-04-16 14:15:29 +10:00 committed by Mayel de Borniol
parent 0b3c8a23ba
commit 3b99906170

View file

@ -394,6 +394,8 @@ The common and convenient way for adding HTTPS is by using a reverse proxy like
Caddyserver and other servers can handle generating and setting up HTTPS certificates automatically, but if you need TLS/SSL certificates for nginx, you can look get some for free with [letsencrypt](https://letsencrypt.org/). The simplest way to obtain and install a certificate is to use [Certbot.](https://certbot.eff.org). Depending on your specific setup, certbot may be able to get a certificate and configure your web server automatically.
If you've built from source, you should point the nginx root directory to be `_build/prod/rel/bonfire/lib/bonfire-0.1.0-*/priv/static`
## Troubleshooting
Some common issues that may arise during deployment and our suggestions for resolving them.