diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..566ef3d --- /dev/null +++ b/.dockerignore @@ -0,0 +1,18 @@ +############### +# Directories # +############### + +.concourse/ +public/ +deploy/helm/ +.git/ + +######### +# Files # +######### + +Dockerfile +LICENSE +README.md +.gitignore +.dockerignore \ No newline at end of file diff --git a/deploy/caddy/caddy.json b/deploy/caddy/caddy.json index f4f8bea..f8d144e 100644 --- a/deploy/caddy/caddy.json +++ b/deploy/caddy/caddy.json @@ -12,26 +12,16 @@ "match": [ { "path": [ - "/inetmock/*" + "/inetmock*" ] } ], "handle": [ { - "handler": "reverse_proxy", - "upstreams": [ - { - "dial": "gitea-http.gitea.svc.cluster.local:3000" - } - ], - "rewrite": { - "path_regexp": [ - { - "find": "^\\/inetmock", - "replace": "/inetmock/inetmock" - } - ] - } + "handler": "gopkg", + "path": "/inetmock", + "vcs": "git", + "url": "https://code.icb4dc0.de/inetmock/inetmock" } ] },