Commit Graph

48 Commits

Author SHA1 Message Date
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
c336486f5a Define proxy origin 2023-07-16 15:10:02 +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
4483185e75 Add builtin domains to configuration 2023-07-15 19:45:56 +02:00
Brian Picciano
03428cef02 Use an HTTP challenge for ensuring that domains are correctly set up, rather than checking DNS records directly 2023-07-12 20:25:35 +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
ceb2ba3cf4 Move dns records under service in the config 2023-07-09 16:57:36 +02:00
Brian Picciano
57b56934a9 Switch to using a config file 2023-07-09 16:09:00 +02:00
Brian Picciano
80e96c47fb Rename domain::Config to domain::Domain, plus other moving 2023-07-09 14:25:01 +02:00
Brian Picciano
254d9c63d0 Config struct for http server 2023-07-09 13:43:38 +02:00
Brian Picciano
9d44593e73 Improve internal server errors significantly 2023-07-08 16:18:45 +02:00
Brian Picciano
a3c823c7b2 Simplify the http service a bunch, better error handling 2023-07-08 16:04:33 +02:00
Brian Picciano
82290d8b0b Get rid of read_file_into, use streams to serve files from domain manager 2023-07-08 15:53:40 +02:00
Brian Picciano
5e264093ec Get rid of origin::Origin trait completely, move read_file_into onto the origin::Store itself 2023-07-05 19:03:51 +02:00
Brian Picciano
773001b158 Changes suggested by clippy 2023-07-04 19:42:12 +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
d0f601a9f7 Make TaskStack cancel each task individually, not all at once 2023-06-21 14:29:47 +02:00
Brian Picciano
7dd52839b1 Use TaskStack to clean up startup/shutdown logic significantly 2023-06-21 13:15:42 +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
Brian Picciano
d93d4accba Added ability to list all domains 2023-05-23 12:32:56 +02:00
Brian Picciano
7d4f754eec Update readme and index 2023-05-20 15:13:48 +02:00
Brian Picciano
d9676a4ce7 Issues from clippy 2023-05-16 16:20:01 +02:00
Brian Picciano
b608496aaa Fix small goof in index copy 2023-05-15 23:01:57 +02:00
Brian Picciano
5fa89593ae Update source code link in index 2023-05-15 22:18:59 +02:00
Brian Picciano
e5ce19e850 use IPv4 for now 2023-05-15 22:16:29 +02:00
Brian Picciano
e9dc6ba090 Update warning on homepage to be clearer 2023-05-15 21:42:12 +02:00
Brian Picciano
ef2c179a68 show existing domain info on get page 2023-05-15 21:40:05 +02:00
Brian Picciano
6c32af061b Polish up the FE a bit 2023-05-15 21:34:50 +02:00
Brian Picciano
c1b6d982ef Switch to AAAA records 2023-05-15 18:26:49 +02:00
Brian Picciano
774fbe06da switch to using bamboo.css 2023-05-15 18:03:16 +02:00
Brian Picciano
e3c13123db Switched to hyper, cleaned up manager lifetimes, got domain_sync working 2023-05-15 17:46:55 +02:00
Brian Picciano
f9801af166 rename to domiply 2023-05-13 16:39:54 +02:00
Brian Picciano
6e88ab967f Fix up init, implement sync (maybe) 2023-05-13 16:34:51 +02:00
Brian Picciano
50d450eb2c implement error pages 2023-05-13 15:22:47 +02:00
Brian Picciano
130581d61e got basic system for passing configs back and forth with URL working 2023-05-12 18:27:23 +02:00
Brian Picciano
cf3b11862c Got basic index page, started on new domain page 2023-05-12 14:51:10 +02:00
Brian Picciano
21b5b99022 got basic html templating engine working 2023-05-11 19:34:05 +02:00