about summary refs log tree commit diff
diff options
context:
space:
mode:
authorVika <vika@fireburn.ru>2024-08-24 00:39:27 +0300
committerVika <vika@fireburn.ru>2024-08-24 00:39:27 +0300
commitadde536dfa5197a422d42ff3b990dba61e3ed78d (patch)
treed149943ac605d222bab4c99c0ead5dc74ae32204
parent05badde7330063e904bb75286c14d59ed52f6550 (diff)
Add Caddyfile for reverse-proxying in-dev
-rw-r--r--Caddyfile9
1 files changed, 9 insertions, 0 deletions
diff --git a/Caddyfile b/Caddyfile
new file mode 100644
index 0000000..0cdbb75
--- /dev/null
+++ b/Caddyfile
@@ -0,0 +1,9 @@
+{
+    admin :2019
+    auto_https disable_redirects
+}
+
+https://localhost:8443 {
+    reverse_proxy http://localhost:8080
+    tls internal
+}
\ No newline at end of file