From dabe5cb19b77c0c7e2ca94da28c14aafe85fd77b Mon Sep 17 00:00:00 2001 From: Robin Dittmar Date: Thu, 31 Oct 2024 02:34:52 +0100 Subject: [PATCH] Added dittmar.dev/sandbox/ --- data/nginx/include/dittmar.dev | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/data/nginx/include/dittmar.dev b/data/nginx/include/dittmar.dev index 86d6d98..92ab010 100644 --- a/data/nginx/include/dittmar.dev +++ b/data/nginx/include/dittmar.dev @@ -38,6 +38,18 @@ server { proxy_pass http://10.222.0.2:80/; } + location /sandbox { + return 302 /sandbox/; + } + location /sandbox/ { + client_max_body_size 512m; + + proxy_set_header Host $host; + proxy_set_header X-Real-IP $remote_addr; + + proxy_pass http://sandbox:3000/; + } + location /trilium { return 302 /trilium/; }