diff --git a/docs/caddy.md b/docs/caddy.md new file mode 100644 index 00000000..a082d7aa --- /dev/null +++ b/docs/caddy.md @@ -0,0 +1,14 @@ +# Caddy reverse proxy + +This is a very basic config, assuming that you're using Caddy to manage SSL certificates for you. +Any log is disabled by default. Do not forget to replace `server_name` with your domain. + +``` +https:// { + reverse_proxy localhost:3000 + + log { + output discard + } +} +``` diff --git a/docs/index.md b/docs/index.md index eba1d3ce..93c65d4b 100644 --- a/docs/index.md +++ b/docs/index.md @@ -15,6 +15,7 @@ - [Configuration](./configuration.md) - [Apache2 Virtual Host with Reverse Proxy](./apache2.md) - [Nginx Reverse Proxy Configuration](./nginx.md) +- [Caddy Reverse Proxy Configuration](./caddy.md) - [Database Information and Maintenance](./db-maintenance.md) - [Issues with CAPTCHA](./captcha-bug.md) - [How to setup Anti-Captcha](./anti-captcha.md) diff --git a/mkdocs.yml b/mkdocs.yml index e0d6e674..f552c998 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -25,6 +25,7 @@ nav: - 'configuration.md' - 'apache2.md' - 'nginx.md' + - 'caddy.md' - 'db-maintenance.md' - 'captcha-bug.md' - 'anti-captcha.md'