Brian Picciano
7f8e40c19f
Fixed tests for git and acme::store
11 months ago
Brian Picciano
96b38f2c97
Support for gemini fully fleshed out
11 months ago
Brian Picciano
31782be10d
Moved http proxy under the service module
12 months ago
Brian Picciano
f7ecafbc17
Rename Proxy descr to HttpProxy
12 months ago
Brian Picciano
188ebaa30b
Add add/remove_path_prefix fields to domain settings
12 months ago
Brian Picciano
5099f79260
Add ability to add request headers to proxied requests
12 months ago
Brian Picciano
651f3f4bb7
Pass the full domain::Settings into the proxy code
12 months ago
Brian Picciano
8f74757f23
send x-forwarded-proto header from proxy
12 months ago
Brian Picciano
b060cafa8e
Fix config to match the README, add proxy to README
12 months ago
Brian Picciano
a917f32f04
Got proxy origin working, more or less
12 months ago
Brian Picciano
9beeffcdcf
Revert "Have get_file accept and return structs, which will be easier to extend going forward"
...
This reverts commit a86020eedf
.
Turns out that even with this change proxying won't work properly via
origin::Store, it'll just have to be a special case. I'm keeping the
commit around in case we want this for a later case.
12 months ago
Brian Picciano
4a2ac7460f
Initial implementation of proxy module
12 months ago
Brian Picciano
a86020eedf
Have get_file accept and return structs, which will be easier to extend going forward
12 months ago
Brian Picciano
c336486f5a
Define proxy origin
12 months ago
Brian Picciano
4483185e75
Add builtin domains to configuration
12 months ago
Brian Picciano
57b56934a9
Switch to using a config file
1 year ago
Brian Picciano
9c1bdc1e8a
Introduce origin config
1 year ago
Brian Picciano
82290d8b0b
Get rid of read_file_into, use streams to serve files from domain manager
1 year ago
Brian Picciano
8b75b141f4
Alias BoxByteStream, and test git get_file implementation
1 year ago
Brian Picciano
60b90746fc
Implement origin::Store::get_file, to deprecate read_file_into
1 year ago
Brian Picciano
5e264093ec
Get rid of origin::Origin trait completely, move read_file_into onto the origin::Store itself
1 year ago
Brian Picciano
773001b158
Changes suggested by clippy
1 year ago
Brian Picciano
6863694293
Pass descr around as a reference, generally
1 year ago
Brian Picciano
9c36ae1c7b
Test mux store... kinda
1 year ago
Brian Picciano
7a35befffe
Don't include Send/Sync in trait requirements
1 year ago
Brian Picciano
fa85fe7fd8
Fix more tests
1 year ago
Brian Picciano
bd96581c6a
Don't return Box from constructors
1 year ago
Brian Picciano
0b22801503
Basic, untested implementation of mux origin store
1 year ago
Brian Picciano
dd07bbf7ac
Fix tests in git store
1 year ago
Brian Picciano
51cb6aadce
use Box for origin::Store
1 year ago
Brian Picciano
52f87dc625
Get rid of origin::store::BoxedManager and domain::manager::BoxedManager
1 year ago
Brian Picciano
4317d7f282
Simplify git origin a bit
1 year ago
Brian Picciano
420f1ff42a
implement error::unexpected, use it everywhere
...
This is an improved form of the previous `error::Unexpected` type, now
with more capabilities and generally better naming.
1 year ago
Brian Picciano
0f42327a57
Implemented acme store, started on manager
1 year ago
Brian Picciano
1fdd023f50
Replace usage of boxed dyn errors with new error::Unexpected
1 year ago
Brian Picciano
cab7a837a7
Introduced separate 'Boxed' traits, to allow for mocks
1 year ago
Brian Picciano
d9676a4ce7
Issues from clippy
1 year ago
Brian Picciano
6d68b4e5ab
Implemented periodic origin syncing
1 year ago
Brian Picciano
9e724d3903
got manager being shared properly into render context
1 year ago
Brian Picciano
742523d0a0
make git origin store types private
1 year ago
Brian Picciano
386b02023c
implement most of main, including config and http server
1 year ago
Brian Picciano
796b90e91d
move git store to its own file
1 year ago
Brian Picciano
a0bdf610d9
small note in origin store
1 year ago
Brian Picciano
79ba735fd6
Use GATs to remove dynamic dispatch when using origin store
1 year ago
Brian Picciano
d1842943cd
Add locks around git store syncing and getting
1 year ago
Brian Picciano
f2a3c78a83
re-organize imports for clarity
1 year ago
Brian Picciano
be84742e94
make origin store errors be actual errors, and implement a mock
1 year ago
Brian Picciano
696c92a292
tried getting the origin store mock working, but couldn't
1 year ago
Brian Picciano
4460aae75a
keep refactoring git store to make this iterator work nice
1 year ago
Brian Picciano
53e253b362
refactor Store to return an Origin
1 year ago