diff --git a/README.md b/README.md index bde17d1..62b380c 100644 --- a/README.md +++ b/README.md @@ -111,7 +111,7 @@ In the event of a missing configuration file, HellPot will attempt to place it's ## Example Web Server Config (nginx) -``` +```nginx location '/robots.txt' { proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; @@ -133,7 +133,7 @@ All nonexisting URLs are being reverse proxied to a HellPot instance on localhos * Requests on nonexisting URLs cause a HTTP Error 404, which content is served by HellPot * URLs under the "/.well-known/" suffix are excluded. -``` +```apache ErrorDocument 400 "/content/400" ErrorDocument 403 "/content/403" diff --git a/go.mod b/go.mod index 1a55038..d513998 100644 --- a/go.mod +++ b/go.mod @@ -3,7 +3,7 @@ module github.com/yunginnanet/HellPot go 1.19 require ( - git.tcp.direct/kayos/common v0.9.4 + git.tcp.direct/kayos/common v0.9.6 github.com/fasthttp/router v1.4.21 github.com/rs/zerolog v1.31.0 github.com/spf13/afero v1.10.0 diff --git a/go.sum b/go.sum index 41e2834..acc4070 100644 --- a/go.sum +++ b/go.sum @@ -36,8 +36,8 @@ cloud.google.com/go/storage v1.8.0/go.mod h1:Wv1Oy7z6Yz3DshWRJFhqM/UCfaWIRTdp0RX cloud.google.com/go/storage v1.10.0/go.mod h1:FLPqc6j+Ki4BU591ie1oL6qBQGu2Bl/tZ9ullr3+Kg0= cloud.google.com/go/storage v1.14.0/go.mod h1:GrKmX003DSIwi9o29oFT7YDnHYwZoctc3fOKtUw0Xmo= dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU= -git.tcp.direct/kayos/common v0.9.4 h1:UqenO7AWOeDuItziNWQNyoBbWRDPO2GofNoYcTF60lc= -git.tcp.direct/kayos/common v0.9.4/go.mod h1:tTqUGj50mpwoQD0Zsdsv6cpDzN9VfjnQMgpDC8aRfms= +git.tcp.direct/kayos/common v0.9.6 h1:EITtktxZF/zkzqAhZZxvm6cZpFYoZ0P/gLB9RPatKUY= +git.tcp.direct/kayos/common v0.9.6/go.mod h1:8y9b+PN1+ZVaQ/VugD9dkKe+uqhE8jH7a64RyF7h2rM= github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= github.com/andybalholm/brotli v1.0.5 h1:8uQZIdzKmjc/iuPu7O2ioW48L81FgatrcpfFmiq/cCs=