Brian Picciano
dcbf45ec85
Allow for disabling https for proxied domains
11 months ago
Brian Picciano
7a1a2297d4
Move proxy config into domain (bigger change than it sounds like)
11 months ago
Brian Picciano
b44fd575a9
Rename primary_domain to interface_domain, and make it optional
11 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.
11 months ago
Brian Picciano
7f8e40c19f
Fixed tests for git and acme::store
11 months ago
Brian Picciano
337f3c9cef
Do cert syncing within domain manager
11 months ago
Brian Picciano
96b38f2c97
Support for gemini fully fleshed out
11 months ago
Brian Picciano
d429b51cf8
Fix self-signed cert generation, not_before is required apparently
11 months ago
Brian Picciano
8a530d4f7d
Fix static file index.gmi
11 months ago
Brian Picciano
5a15f07872
Include builtins in origin syncing
11 months ago
Brian Picciano
24e4dc42b1
Add static directory, useful for testing
11 months ago
Brian Picciano
795817f99d
Implement gemini cert store
11 months ago
Brian Picciano
4c1f843048
Move Certificate and PrivateKey into their own tls module
11 months ago
Brian Picciano
7a9ae81376
rename sync_cert to sync_https_cert
11 months ago
Brian Picciano
ef8c5827a0
Include template dev config file, ignore the one actually being used
11 months ago
Brian Picciano
cdd0eacdd8
Update gemini proxying according to feedback from the tokio_rustls issue
11 months ago
Brian Picciano
c1659fab2a
Got gemini proxy working, via a custom tokio_rustls branch
11 months ago
Brian Picciano
c8176c819f
Got basic gemini listening working. Proxying does not yet work, nor does serving the origin
11 months ago
Brian Picciano
2d1e237735
A bit of module structure tidying
12 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
b81b59fc0a
Get rid of remove_path_prefix, it's not useful
12 months ago
Brian Picciano
188ebaa30b
Add add/remove_path_prefix fields to domain settings
12 months ago
Brian Picciano
edadaab792
Remove serve_protocols option for now, it's not useful
12 months ago
Brian Picciano
63f4975d5a
Fix deserialization of FlatDomainSettings boolean flags
12 months ago
Brian Picciano
ccd2285b11
Prevent users from seeing proxy config in web interface
12 months ago
Brian Picciano
87c779ebb6
Fix rendering on domain.html
12 months ago
Brian Picciano
7049252787
Support `serve_protocols` field on 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
5dd2e756cc
Rename domain::Domain to domain::Settings, finished renaming it everywhere
12 months ago
Brian Picciano
5a4ff4ca65
Add secret service.http.form_method field for debugging
12 months ago
Brian Picciano
4483185e75
Add builtin domains to configuration
12 months ago
Brian Picciano
03428cef02
Use an HTTP challenge for ensuring that domains are correctly set up, rather than checking DNS records directly
12 months ago
Brian Picciano
28104f36e1
Add token::MemStore, use it for http01 challenges
12 months ago
Brian Picciano
811aef209a
introduce unexpected::Result
12 months ago
Brian Picciano
af1dc183ec
Support for CNAME records
12 months ago
Brian Picciano
2693e0eac2
Implement support for AAAA records
12 months ago
Brian Picciano
7d64f44dab
Rewrite README with new config file documentation
12 months ago
Brian Picciano
ceb2ba3cf4
Move dns records under service in the config
12 months ago
Brian Picciano
57b56934a9
Switch to using a config file
12 months ago
Brian Picciano
1bc3420930
remove github run dir
12 months ago
Brian Picciano
7c68702ab8
Introduce domain::Config
12 months ago