[mirror] Scalable static site server for Git forges (like GitHub Pages)
1{
2 storage s3 {
3 host "{env.PAGES_STORAGE_S3_ENDPOINT}"
4 access_id "{env.PAGES_STORAGE_S3_ACCESS_KEY_ID}"
5 secret_key "{env.PAGES_STORAGE_S3_SECRET_ACCESS_KEY}"
6 bucket "{env.PAGES_STORAGE_S3_BUCKET}"
7 prefix "ssl"
8 }
9
10 admin off
11
12 persist_config off
13
14 email {env.ACME_EMAIL}
15
16 auto_https disable_redirects
17
18 on_demand_tls {
19 permission http http://localhost:3001
20 }
21}
22
23https://, http:// {
24 tls {
25 on_demand
26 }
27
28 reverse_proxy http://localhost:3000
29}