enzo-g
d9085e7dcc
Update README.md
...
Update small spelling mistake
2024-03-18 01:58:15 -05:00
Umputun
e2ee5bab1b
fix forwarded url, has to be earlier and constructed
2024-03-15 17:49:11 -05:00
Umputun
351de86a26
move setting X-Forward-URL after both scheme and host set
2024-03-15 17:32:33 -05:00
Umputun
7d8802992a
switch to go 1.22, update deps
...
update version of runners, change goveralls install
update docker build to v1.22
drop useless codeanalysis ci step
2024-03-15 17:14:08 -05:00
Umputun
d2a4f56833
Add 'X-Forwarded-URL' to request header ( #176 )
...
* Add 'X-Forwarded-URL' to request header
'X-Forwarded-URL' has been added to the request header in the proxy core to improve redirection handling.
* lint: address unused param warn, supress for tests
2024-03-15 16:53:10 -05:00
Umputun
616c1df314
don't add dbl headers for X-Forwarded-Proto and X-Forwarded-Proto #172
2024-02-05 23:29:35 -06:00
Umputun
8f2bfdc838
pin goreleaser version
2024-02-01 15:28:20 -06:00
rashpile
631244671a
send x-forwarded headers for ssl static mode as well
2024-02-01 14:42:18 -06:00
rashpile
f573cd9e86
add the X-Forwarded-Proto
and X-Forwarded-Port
headers for SSLAuto mode
2024-02-01 14:42:18 -06:00
rashpile
7ce7e18931
docker api 1.22 is deprecated -> minimal supported version is 1.24
2024-02-01 14:41:39 -06:00
Sergey Ninua
fe24cf99ef
Implement Host header bypassing ( #155 )
...
* Initial implementation of keep-host argument
* Add keep-host parsing to the consulcatalog provider
* Update docs
* update from the current master
---------
by @ffix
2024-01-25 03:28:54 -06:00
Eli
7d4394f1c8
Skip SSL check for the destination host ( #170 )
...
by @themagic314
* skip ssl check on dest host
* nolint directive
* readme explanation
2024-01-07 12:19:50 -06:00
Umputun
5b5b04243f
fix static proxy example in docs
2023-12-19 14:38:39 -06:00
Umputun
fa23778d42
make LBSelector interface and implement all the current methods plus roundrobin
2023-11-27 12:08:28 -06:00
Umputun
8bde167226
change logger to lgr for only from msg
2023-11-26 18:49:02 -06:00
Umputun
5c07e82ac4
also add what url rejected for
2023-11-26 18:40:04 -06:00
Umputun
197c8d9db3
logging rejected IPs
2023-11-26 18:30:14 -06:00
Umputun
bddb144f60
fix order of middlewares to handle limiting by IP after match handler sets ctx
2023-11-26 17:10:16 -06:00
Umputun
672d4c2af8
add info about limited ip to logs
2023-11-26 16:52:16 -06:00
Umputun
899b552108
add docs for remote ip limiting
...
add more info and fix typos
add info to readme
2023-11-26 16:17:04 -06:00
Umputun
a896f08eec
add middleware to optionally allow requests from giving ips/ranges
...
add new remote param to docker and file providers
lint: http nil body
add support of remote ips to consul provider
local implementation of onlyfrom middleware
lint: missing comment
make proxy tests more readable
preffer public IP if any forwwarded
2023-11-26 16:17:04 -06:00
Umputun
36a5443378
update and vendoring
...
update realip deps
regroup deps, keep all indirect separately
2023-11-26 16:17:04 -06:00
Umputun
f37072e649
lint: minor warns in tests
2023-09-20 11:16:24 -05:00
Umputun
b090bb4300
bump deps, update to go 1.21
2023-09-20 11:08:36 -05:00
Nikita Shoshin
2b92c11cc9
fix redirects
...
Before this change redirects didn't work because method `Service.extendMapper` didn't copy
the value of `URLMapper.RedirectType` to the extended result.
To fix this we return the original `URLMapper` instead of creating a new one (it can also help
to avoid similar bugs in the future). We can reuse `URLMapper` because it is passed
by value.
2023-05-13 22:48:22 -05:00
Umputun
12bddda0f5
bump deps
2023-05-13 22:44:55 -05:00
Umputun
197246a05a
drop legacy rand.Seed
2023-02-27 14:51:25 -06:00
Umputun
96904fe7c5
switch to go v1.20
2023-02-27 14:43:41 -06:00
Umputun
34d9f4d1d5
lint: minor warn on deferred close
2023-02-27 00:00:04 -06:00
Umputun
ffd6b08257
increase timeout a little for a flaky test
2023-02-26 16:21:16 -06:00
Umputun
00ff3e8f37
bump deps
2023-02-26 16:15:04 -06:00
Umputun
1e8a890b02
update actions versions in ci
2023-02-26 16:00:15 -06:00
Umputun
ca65980093
fix redirects for docker provider
2023-02-25 22:30:54 -06:00
Umputun
22063f08cd
fix docker's labels max, make it include .9 for real
2023-02-25 12:57:16 -06:00
Ivan Dudin
2cd32609e9
fix typo
2023-01-28 12:41:46 -06:00
Ivan Dudin
3e57ed8232
Update README.md
2023-01-28 12:41:46 -06:00
Umputun
3fb30a7cbf
fix overrides for site
2022-12-25 18:41:13 -06:00
Umputun
18fa817aa1
add local analytics to docs site
2022-12-25 18:30:35 -06:00
Umputun
0ce326dbaa
update deps, switch to go 1.19
2022-09-06 22:24:41 -05:00
Umputun
a4b82174c9
add info about 0 timout
2022-08-29 17:22:46 -05:00
ravilushqa
546c2609b0
defer recover
2022-08-21 03:48:44 -05:00
Umputun
3cb546b015
add site icon
2022-08-09 22:58:11 -05:00
Umputun
3450148907
move docs for caching to subsection
2022-08-09 22:42:58 -05:00
Umputun
e6c0ddb6ef
fix cache params
2022-08-09 17:37:13 -05:00
Umputun
6496196705
trigger site rebuild on dockerfile change
2022-08-09 17:27:32 -05:00
Umputun
dff390414d
add caching for site
2022-08-09 17:22:23 -05:00
Umputun
a84bbc3603
drop redirect map on site
2022-08-08 17:01:50 -05:00
Umputun
e1e99fe9b8
simplify Dockerfile.site, eliminate copy commands
2022-08-08 16:53:53 -05:00
Umputun
0af7807e36
simplify site configuration
2022-08-08 16:34:12 -05:00
Umputun
45d699ef80
use extra_css for site styles
2022-08-08 15:49:53 -05:00