From d29d5111b39e92046e818a76a24b9b2523d869dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mateusz=20B=C4=85czek?= Date: Sun, 5 Mar 2023 09:42:47 +0100 Subject: [PATCH] Add Caddy web server reverse proxy documentation (#286) --- docs/caddy.md | 14 ++++++++++++++ docs/index.md | 1 + mkdocs.yml | 1 + 3 files changed, 16 insertions(+) create mode 100644 docs/caddy.md diff --git a/docs/caddy.md b/docs/caddy.md new file mode 100644 index 0000000..a082d7a --- /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 eba1d3c..93c65d4 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 e0d6e67..f552c99 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'