diff --git a/.gitignore b/.gitignore index 4d1c82f..0d0dd4b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,5 @@ .vscode config/npm/keys.json -config/npm/logs \ No newline at end of file +config/npm/logs + +maps/ \ No newline at end of file diff --git a/__pycache__/requests.cpython-310.pyc b/__pycache__/requests.cpython-310.pyc deleted file mode 100644 index 4d77d6f..0000000 Binary files a/__pycache__/requests.cpython-310.pyc and /dev/null differ diff --git a/config/caddy/Caddyfile b/config/caddy/Caddyfile index ef88462..715bb37 100644 --- a/config/caddy/Caddyfile +++ b/config/caddy/Caddyfile @@ -1,23 +1,5 @@ -# http://loki { -# root * /usr/share/caddy -# file_server browse -# } - -# http://loki/config { -# reverse_proxy /config/* foxglove:8080 -# } - -# http://browse.loki { -# root * /usr/share/caddy -# file_server browse -# } - -# http://config.loki { -# reverse_proxy localhost:1337 -# } - -# http://control.loki { -# reverse_proxy foxglove:8080 +# { +# debug # } http://loki { @@ -25,19 +7,23 @@ http://loki { file_server browse handle_path /config* { - #rewrite * / - reverse_proxy olivetin:1337 + reverse_proxy http://olivetin:1337 } handle_path /viz* { - #rewrite * / - reverse_proxy foxglove:8080 + reverse_proxy http://foxglove:8080 } } -# http://loki/config { -# handle_path /config* { -# rewrite * / -# reverse_proxy olivetin:1337 -# } -# } +http://loki.local { + root * /usr/share/caddy + file_server browse + + handle_path /config { + reverse_proxy http://olivetin:1337 + } + + handle_path /viz* { + reverse_proxy http://foxglove:8080 + } +} diff --git a/config/caddy/content/overview/index.html b/config/caddy/content/overview/index.html index afeccfd..71bc9d3 100644 --- a/config/caddy/content/overview/index.html +++ b/config/caddy/content/overview/index.html @@ -24,12 +24,12 @@
SSD: | -CPS_bot_mini | +SSID: | +cps-loki |
Password: | -pac999CPS | +cps-loki |