diff options
author | Jason Raimondi <jason@raimondi.us> | 2021-10-13 22:59:23 -0700 |
---|---|---|
committer | Jason Raimondi <jason@raimondi.us> | 2021-10-13 23:03:00 -0700 |
commit | a2017a0e502f1508d3cef30a25cffa07896b0ca7 (patch) | |
tree | e74f52d4bb2b7979a6af15e79b02e74a9b6a0713 /README.md | |
parent | upgraded yt-dlp (diff) | |
download | metube-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.md | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -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.
|