aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorJason Raimondi <jason@raimondi.us>2021-10-13 22:59:23 -0700
committerJason Raimondi <jason@raimondi.us>2021-10-13 23:03:00 -0700
commita2017a0e502f1508d3cef30a25cffa07896b0ca7 (patch)
treee74f52d4bb2b7979a6af15e79b02e74a9b6a0713 /README.md
parentupgraded yt-dlp (diff)
downloadmetube-a2017a0e502f1508d3cef30a25cffa07896b0ca7.tar.gz
metube-a2017a0e502f1508d3cef30a25cffa07896b0ca7.tar.bz2
metube-a2017a0e502f1508d3cef30a25cffa07896b0ca7.zip
docs: adds example of reverse proxy with Caddy
Diffstat (limited to 'README.md')
-rw-r--r--README.md14
1 files changed, 14 insertions, 0 deletions
diff --git a/README.md b/README.md
index 32b4b33..3141f72 100644
--- a/README.md
+++ b/README.md
@@ -91,6 +91,20 @@ location /metube/ {
If you're using the [linuxserver/swag](https://docs.linuxserver.io/general/swag) image for your reverse proxying needs (which I can heartily recommend), it already includes ready snippets for proxying MeTube both in [subfolder](https://github.com/linuxserver/reverse-proxy-confs/blob/master/metube.subfolder.conf.sample) and [subdomain](https://github.com/linuxserver/reverse-proxy-confs/blob/master/metube.subdomain.conf.sample) modes under the `nginx/proxy-confs` directory in the configuration volume.
+
+### Reverse proxy using Caddy
+
+The following example Caddyfile gets a reverse proxy going behind [caddy](https://caddyserver.com)
+
+```caddyfile
+example.com {
+ route /metube/* {
+ uri strip_prefix metube
+ reverse_proxy metube:8081
+ }
+}
+```
+
## Build and run locally
Make sure you have node.js and Python 3.8 installed.
bgstack15