Setup Webserver
Self-Hosted
The Django webserver is not recommended due to missing transport encryption, missing performance and security tests.
We recommend a webserver like Caddy, nginx or Apache and to enable https.
Caddy is an open-source webserver with automatic HTTPS written in Go.
Setup your DNS A-record pointing to your server. Make sure that ports 443 and 80 are publicly available. (You need port 80 for getting your LetEncrypt certificate.)
Create a docker-compose.yml
(e.g. in a caddy
directory outside your SysReptor files):
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
|
Don't forget to replace <your-domain>
by your domain.
docker compose up -d
and enjoy.
You can install nginx on your host system:
1 2 |
|
Copy our nginx boilerplate configuration from the deploy
directory to your nginx directory:
1 2 3 |
|
You can optionally generate self-signed certificates:
1 2 3 |
|
Modify sysreptor.nginx
and update the certificate paths in case you have trusted certificates (recommended).
(Re)Start nginx:
1 2 |
|