Umputun
3dd986ba16
lint: silly thing
2021-05-14 22:03:16 -05:00
Umputun
b79a9faf3c
support size units #71
2021-05-14 22:01:27 -05:00
Umputun
aee7e8a57e
revert to stable go-pgz/rest, switch size limiter to local implementation #71
2021-05-14 16:17:52 -05:00
Umputun
137cf692c4
switch to master go-pkgz/rest #71
2021-05-14 13:47:44 -05:00
Umputun
c3bb113305
add info about 0 max
2021-05-14 03:29:55 -05:00
Umputun
c3e7814d33
fix metrics doc link
2021-05-13 22:25:14 -05:00
Negasus
9ce8bbf6fe
add .idea folder to gitignore
2021-05-13 03:19:11 -05:00
Umputun
d982796e58
simplify consul client a little bit
2021-05-13 02:00:13 -05:00
Umputun
144902dd2f
update readme
2021-05-13 01:49:18 -05:00
Umputun
d438f89b1a
update readme
2021-05-13 01:45:54 -05:00
Negasus
01ae284390
add nolint:prealloc
2021-05-13 01:14:04 -05:00
Negasus
738c3baf6c
add consul catalog provider
2021-05-13 01:14:04 -05:00
Umputun
a93bd40f8a
treat 0 max request size limit as unlimited
2021-05-12 21:54:41 -05:00
Umputun
dc39e2d090
bump lint version compat
2021-05-12 03:28:10 -05:00
Umputun
25ee73d8d6
set X-Forwarded-Host to orid host, drop X-Origin-Host #67
2021-05-10 03:50:00 -05:00
Umputun
a73a16c12b
wait till fqdn avail for ssl auto #63
2021-05-05 01:41:23 -05:00
Umputun
497dfdb070
add docs about repeatable options #63
2021-05-04 14:17:18 -05:00
Umputun
211fe15b8f
add autocert details log
2021-05-04 12:51:07 -05:00
Umputun
5c1ab356cc
fix default ssk port selection
2021-05-03 21:52:08 -05:00
Umputun
4c051ca37f
detect in-container and set listen address to 0.0.0.0 ( #62 )
...
* detect in-container and set listen to 0.0.0.0
* simplify default address logic
don't change if user defined, use 127.0.0.1:8080 for non-docker and 0.0.0.0:8080 for in-docker only if nothing set
* add dynamic default to redir http port
* add docs about dynamic defaults
* add ssl example
* lint: params warn
2021-05-03 21:40:21 -05:00
Umputun
c6ec677710
use baseimage/app for certs, tz and users
2021-05-03 14:38:48 -05:00
Umputun
3eba72cbff
extend health chek to make sure all pings called
2021-05-02 12:52:29 -05:00
Umputun
5743109210
Nice error ( #61 )
...
* add support of html error reporting with custom templates
* typo
* formatting
* better template load error msg
2021-04-30 04:03:36 -05:00
Umputun
06e78b81d4
extend no match WARN
2021-04-28 14:47:53 -05:00
Umputun
9b9d64894d
reproxy.port to enable container
2021-04-28 14:37:11 -05:00
Umputun
2670144e8a
add support of docker route prefix
2021-04-28 14:00:38 -05:00
Umputun
69bb10d42f
fix default docker dest to include container
2021-04-28 13:40:59 -05:00
Umputun
b04832658e
reformat example
2021-04-27 03:45:46 -05:00
Umputun
1ff45cc2ca
add integration test over https
2021-04-27 02:50:45 -05:00
Umputun
604391e55e
extend tests for tricky cases
2021-04-27 01:57:04 -05:00
Umputun
66eb3ffe4a
support d units in cache duration
2021-04-27 01:40:46 -05:00
Umputun
a4cffbe922
Mime cache ( #59 )
...
* support different caching duration for different mime types #58
* extract main code to run func
* lint: err shadowing
2021-04-26 18:51:48 -05:00
Umputun
f5c5c61349
add header example
2021-04-25 12:57:11 -05:00
Umputun
c4f3752350
remove negative duration sample
2021-04-24 19:00:20 -05:00
Umputun
89b562e059
add details about cache duration
2021-04-24 18:59:55 -05:00
Pavel Mineev
22a97a6476
make header thiner and remove build from repo
2021-04-24 15:14:11 -05:00
Umputun
a0b56580e2
fiх absolute link in docs
2021-04-24 13:53:33 -05:00
Umputun
9a7a92fc41
make deadlock test on health handler more realistic
2021-04-24 04:03:29 -05:00
Umputun
8279b1a8ea
change gcr link
2021-04-23 23:42:43 -05:00
Umputun
a36c64fca4
remove some EOLs
2021-04-23 23:39:07 -05:00
Umputun
0914bbe9a2
minor typos
2021-04-23 16:46:35 -05:00
Umputun
efded2cf5e
flip order in docker proxy+static labels #55
...
we want proxy rule to have priority over assets rule
2021-04-23 04:05:14 -05:00
Umputun
c590c3246d
Assets cache ( #54 )
...
* add caching control for assets
* regen site
2021-04-23 02:02:36 -05:00
Nikita Vasiliev
ef8298bb9c
Test to catch a deadlock in healthHandler()
2021-04-21 17:30:34 -05:00
Nikita Vasiliev
38af32f37c
Fix a deadlock
2021-04-21 17:30:34 -05:00
23ua
7e89e35e48
Fix typo in assets example
2021-04-21 03:55:36 -05:00
Umputun
6096db3ff0
typo and regen site
2021-04-21 02:03:19 -05:00
Umputun
4c79c3b239
rename endpoint to /metrics
2021-04-21 01:28:07 -05:00
Umputun
f16d92b774
lint: minor warns
2021-04-20 19:22:46 -05:00
Umputun
aef3040b60
fix tests regression
2021-04-20 19:22:46 -05:00