Brian Picciano
92f7d3d52a
Ensure that the interface_domain gets a cert requested for it
10 months ago
Brian Picciano
818c728258
Move interface_domain under domain configuration
10 months ago
Brian Picciano
083976935c
Fix release build
10 months ago
Brian Picciano
0e164f739d
Small fixes after some testing
10 months ago
Brian Picciano
dcbf45ec85
Allow for disabling https for proxied domains
10 months ago
Brian Picciano
7a1a2297d4
Move proxy config into domain (bigger change than it sounds like)
10 months ago
Brian Picciano
b44fd575a9
Rename primary_domain to interface_domain, and make it optional
10 months ago
Brian Picciano
e67cd6725a
Return all domains from all_domains
...
This fixes an issue where the domain manager sync job wouldn't have
synced private builtin domains ever.
10 months ago
Brian Picciano
7f8e40c19f
Fixed tests for git and acme::store
10 months ago
Brian Picciano
337f3c9cef
Do cert syncing within domain manager
10 months ago
Brian Picciano
96b38f2c97
Support for gemini fully fleshed out
10 months ago
Brian Picciano
d429b51cf8
Fix self-signed cert generation, not_before is required apparently
10 months ago
Brian Picciano
8a530d4f7d
Fix static file index.gmi
10 months ago
Brian Picciano
5a15f07872
Include builtins in origin syncing
10 months ago
Brian Picciano
24e4dc42b1
Add static directory, useful for testing
10 months ago
Brian Picciano
795817f99d
Implement gemini cert store
10 months ago
Brian Picciano
4c1f843048
Move Certificate and PrivateKey into their own tls module
10 months ago
Brian Picciano
7a9ae81376
rename sync_cert to sync_https_cert
10 months ago
Brian Picciano
ef8c5827a0
Include template dev config file, ignore the one actually being used
10 months ago
Brian Picciano
cdd0eacdd8
Update gemini proxying according to feedback from the tokio_rustls issue
10 months ago
Brian Picciano
c1659fab2a
Got gemini proxy working, via a custom tokio_rustls branch
10 months ago
Brian Picciano
c8176c819f
Got basic gemini listening working. Proxying does not yet work, nor does serving the origin
10 months ago
Brian Picciano
2d1e237735
A bit of module structure tidying
10 months ago
Brian Picciano
31782be10d
Moved http proxy under the service module
10 months ago
Brian Picciano
f7ecafbc17
Rename Proxy descr to HttpProxy
10 months ago
Brian Picciano
b81b59fc0a
Get rid of remove_path_prefix, it's not useful
10 months ago
Brian Picciano
188ebaa30b
Add add/remove_path_prefix fields to domain settings
10 months ago
Brian Picciano
edadaab792
Remove serve_protocols option for now, it's not useful
10 months ago
Brian Picciano
63f4975d5a
Fix deserialization of FlatDomainSettings boolean flags
10 months ago
Brian Picciano
ccd2285b11
Prevent users from seeing proxy config in web interface
10 months ago
Brian Picciano
87c779ebb6
Fix rendering on domain.html
10 months ago
Brian Picciano
7049252787
Support `serve_protocols` field on domain settings
10 months ago
Brian Picciano
5099f79260
Add ability to add request headers to proxied requests
10 months ago
Brian Picciano
651f3f4bb7
Pass the full domain::Settings into the proxy code
10 months ago
Brian Picciano
8f74757f23
send x-forwarded-proto header from proxy
10 months ago
Brian Picciano
b060cafa8e
Fix config to match the README, add proxy to README
10 months ago
Brian Picciano
a917f32f04
Got proxy origin working, more or less
10 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.
10 months ago
Brian Picciano
4a2ac7460f
Initial implementation of proxy module
10 months ago
Brian Picciano
a86020eedf
Have get_file accept and return structs, which will be easier to extend going forward
10 months ago
Brian Picciano
c336486f5a
Define proxy origin
10 months ago
Brian Picciano
5dd2e756cc
Rename domain::Domain to domain::Settings, finished renaming it everywhere
10 months ago
Brian Picciano
5a4ff4ca65
Add secret service.http.form_method field for debugging
10 months ago
Brian Picciano
4483185e75
Add builtin domains to configuration
10 months ago
Brian Picciano
03428cef02
Use an HTTP challenge for ensuring that domains are correctly set up, rather than checking DNS records directly
10 months ago
Brian Picciano
28104f36e1
Add token::MemStore, use it for http01 challenges
10 months ago
Brian Picciano
811aef209a
introduce unexpected::Result
10 months ago
Brian Picciano
af1dc183ec
Support for CNAME records
10 months ago
Brian Picciano
2693e0eac2
Implement support for AAAA records
10 months ago
Brian Picciano
7d64f44dab
Rewrite README with new config file documentation
11 months ago