File: Caddyfile

package info (click to toggle)
git-pages 0.5.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 460 kB
  • sloc: makefile: 6
file content (29 lines) | stat: -rw-r--r-- 458 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{
	storage s3 {
		host "{env.PAGES_STORAGE_S3_ENDPOINT}"
		access_id "{env.PAGES_STORAGE_S3_ACCESS_KEY_ID}"
		secret_key "{env.PAGES_STORAGE_S3_SECRET_ACCESS_KEY}"
		bucket "{env.PAGES_STORAGE_S3_BUCKET}"
		prefix "ssl"
	}

	admin off

	persist_config off

	email {env.ACME_EMAIL}

	auto_https disable_redirects

	on_demand_tls {
		permission http http://localhost:3001
	}
}

https://, http:// {
	tls {
		on_demand
	}

	reverse_proxy http://localhost:3000
}