mirror of
https://gitlab.com/famedly/conduit.git
synced 2025-09-05 18:41:00 +00:00
tests: make complement work & switch to Caddyfile
This commit is contained in:
parent
92ce47aa71
commit
54916a25bf
4 changed files with 38 additions and 77 deletions
30
complement/Caddyfile
Normal file
30
complement/Caddyfile
Normal file
|
@ -0,0 +1,30 @@
|
|||
{
|
||||
log default {
|
||||
level WARN
|
||||
}
|
||||
https_port 8448
|
||||
default_sni your.server.name
|
||||
local_certs
|
||||
pki {
|
||||
ca local {
|
||||
name "Complement CA"
|
||||
root {
|
||||
cert /complement/ca/ca.crt
|
||||
key /complement/ca/ca.key
|
||||
}
|
||||
intermediate {
|
||||
cert /complement/ca/ca.crt
|
||||
key /complement/ca/ca.key
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
your.server.name
|
||||
|
||||
reverse_proxy 127.0.0.1:8008
|
||||
tls {
|
||||
issuer internal {
|
||||
ca local
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue