Brian Picciano
7a1a2297d4
Move proxy config into domain (bigger change than it sounds like)
2023-08-03 14:14:51 +02:00
Brian Picciano
b44fd575a9
Rename primary_domain to interface_domain, and make it optional
2023-08-03 11:18:31 +02:00
Brian Picciano
337f3c9cef
Do cert syncing within domain manager
2023-08-02 19:59:05 +02:00
Brian Picciano
7a9ae81376
rename sync_cert to sync_https_cert
2023-07-27 14:12:22 +02:00
Brian Picciano
c8176c819f
Got basic gemini listening working. Proxying does not yet work, nor does serving the origin
2023-07-22 11:31:55 +02:00
Brian Picciano
2d1e237735
A bit of module structure tidying
2023-07-21 14:43:39 +02:00
Brian Picciano
31782be10d
Moved http proxy under the service module
2023-07-19 22:36:29 +02:00
Brian Picciano
b81b59fc0a
Get rid of remove_path_prefix, it's not useful
2023-07-19 21:27:03 +02:00
Brian Picciano
188ebaa30b
Add add/remove_path_prefix fields to domain settings
2023-07-19 17:38:37 +02:00
Brian Picciano
87c779ebb6
Fix rendering on domain.html
2023-07-18 18:31:36 +02:00
Brian Picciano
8f74757f23
send x-forwarded-proto header from proxy
2023-07-16 17:54:56 +02:00
Brian Picciano
b060cafa8e
Fix config to match the README, add proxy to README
2023-07-16 17:43:31 +02:00
Brian Picciano
a917f32f04
Got proxy origin working, more or less
2023-07-16 17:10:13 +02:00
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.
2023-07-16 16:09:37 +02:00
Brian Picciano
a86020eedf
Have get_file accept and return structs, which will be easier to extend going forward
2023-07-16 15:40:20 +02:00
Brian Picciano
5dd2e756cc
Rename domain::Domain to domain::Settings, finished renaming it everywhere
2023-07-16 14:38:48 +02:00
Brian Picciano
5a4ff4ca65
Add secret service.http.form_method field for debugging
2023-07-16 13:55:06 +02:00
Brian Picciano
af1dc183ec
Support for CNAME records
2023-07-11 19:16:09 +02:00
Brian Picciano
2693e0eac2
Implement support for AAAA records
2023-07-10 18:23:52 +02:00
Brian Picciano
57b56934a9
Switch to using a config file
2023-07-09 16:09:00 +02:00
Brian Picciano
254d9c63d0
Config struct for http server
2023-07-09 13:43:38 +02:00
Brian Picciano
a3c823c7b2
Simplify the http service a bunch, better error handling
2023-07-08 16:04:33 +02:00
Brian Picciano
95f7f97716
move roadmap to README
2023-07-04 19:09:07 +02:00
Brian Picciano
644d2bab23
Rename to domani
2023-06-25 13:35:59 +02:00
Brian Picciano
f2374cded5
Use TaskSet to cleanly shut down the http service
2023-06-19 20:57:26 +02:00
Brian Picciano
43f4b98b38
Move handle_request onto service as a method
2023-06-19 20:12:15 +02:00
Brian Picciano
506037dcd0
Moved service tasks internally, main crashes on shutdown though
2023-06-18 15:57:51 +02:00
Brian Picciano
7ea97b2617
Get rid of lifetime on Service
2023-06-18 15:10:06 +02:00
Brian Picciano
1f9ae0038f
restructure service module
2023-06-18 14:53:25 +02:00