docker/web/Caddyfile
changeset 702 2a6e667b1610
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/docker/web/Caddyfile	Wed Jul 17 22:46:52 2024 +0200
@@ -0,0 +1,20 @@
+hdalab.iri-research.org {
+    tls internal
+
+    redir / /hdalab/
+    rewrite /hdalab /hdalab/
+
+    handle_path /static/* {
+        root * /static
+        file_server
+    }
+    
+    handle_path /hdalab/* {
+        reverse_proxy server:8000 {
+            transport uwsgi {
+                uwsgi_param SCRIPT_NAME /hdalab
+                uwsgi_param UWSGI_SCHEME https
+            }
+        }
+    }
+}
\ No newline at end of file