aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGalen Guyer <galen@galenguyer.com>2023-03-23 12:07:12 -0400
committerGalen Guyer <galen@galenguyer.com>2023-03-23 12:07:12 -0400
commit0f4e036b2fb16c09bca45abc353da53aa1dcef80 (patch)
tree750272edfbb8d7c9c9ddb82e250d15dcaabb24c6
parent8e816bf9f76f3a282511201302b20c7fc7bbd289 (diff)
rename projectmistress
-rw-r--r--.dockerignore2
-rw-r--r--.gitignore2
-rw-r--r--Dockerfile4
-rw-r--r--README.md12
-rw-r--r--docker-compose.yaml4
-rw-r--r--go.mod2
6 files changed, 14 insertions, 12 deletions
diff --git a/.dockerignore b/.dockerignore
index a4cb5fd..5ed0dbc 100644
--- a/.dockerignore
+++ b/.dockerignore
@@ -1,4 +1,4 @@
.gitignore
LICENSE
-lolproxy
+fsproxy
README.md
diff --git a/.gitignore b/.gitignore
index 8f7b496..fcd51f7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-lolproxy
+fsproxy
diff --git a/Dockerfile b/Dockerfile
index c63e3e5..a259761 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -5,5 +5,5 @@ COPY go.mod go.sum main.go /src/
RUN go build -v
FROM alpine
-COPY --from=builder /src/lolproxy /lolproxy
-ENTRYPOINT [ "/lolproxy", "--host", "0.0.0.0:6969" ]
+COPY --from=builder /src/fsproxy /fsproxy
+ENTRYPOINT [ "/fsproxy", "--host", "0.0.0.0:6969" ]
diff --git a/README.md b/README.md
index 2d4e3c7..ebda78b 100644
--- a/README.md
+++ b/README.md
@@ -1,10 +1,12 @@
-# lolproxy
+# fsproxy
-"some fuckshit that changes your response codes"
+"some fuckshit that changes your response codes" - K5DOC
+
+it's not a **f**ile **s**ystem proxy, it's a **f**uck**s**hit proxy
## running
```
-Usage of ./lolproxy:
+Usage of ./fsproxy:
-host string
host to bind to (default "localhost:6969")
-only404
@@ -12,13 +14,13 @@ Usage of ./lolproxy:
-upstream string
upstream host to proxy to (required)
```
-example: `./lolproxy --upstream https://example.com`
+example: `./fsproxy --upstream https://example.com`
## docker
the docker image binds to `0.0.0.0:6969` by default, so you'll need to expose the port (`--port 127.0.0.1:6969:6969`).
you'll also need to set the upstream as the command
-example: `docker run --rm -it -p 127.0.0.1:6969:6969 docker.io/galenguyer/lolproxy --upstream https://example.com`
+example: `docker run --rm -it -p 127.0.0.1:6969:6969 docker.io/galenguyer/fsproxy --upstream https://example.com`
### docker-compose
a compose file is also provided for your inconvenience. it can be ran with `docker-compose up --build`
diff --git a/docker-compose.yaml b/docker-compose.yaml
index 28a341c..6648481 100644
--- a/docker-compose.yaml
+++ b/docker-compose.yaml
@@ -1,8 +1,8 @@
version: "3"
services:
- lolproxy:
- #image: docker.io/galenguyer/lolproxy:latest
+ fsproxy:
+ #image: docker.io/galenguyer/fsproxy:latest
build: .
command:
- "--upstream"
diff --git a/go.mod b/go.mod
index ada15c9..37e6979 100644
--- a/go.mod
+++ b/go.mod
@@ -1,3 +1,3 @@
-module github.com/galenguyer/lolproxy
+module github.com/galenguyer/fsproxy
go 1.20