pq: introduces caddy with post quantum crypto
This commit is contained in:
parent
e8534e5b70
commit
7f12695bea
9
images/pq/Caddyfile
Normal file
9
images/pq/Caddyfile
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
:443 {
|
||||||
|
tls fullchain.pem privkey.pem
|
||||||
|
tls {
|
||||||
|
protocols tls1.2 tls1.3
|
||||||
|
curves X25519 P256 "SIDH/503-X25519"
|
||||||
|
}
|
||||||
|
log stdout
|
||||||
|
ext .html
|
||||||
|
}
|
10
images/pq/Dockerfile
Normal file
10
images/pq/Dockerfile
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
FROM buildpack-deps
|
||||||
|
|
||||||
|
EXPOSE 443
|
||||||
|
|
||||||
|
ADD certs/privkey.pem /
|
||||||
|
ADD certs/fullchain.pem /
|
||||||
|
ADD bin/caddy /
|
||||||
|
ADD Caddyfile /
|
||||||
|
ADD index.html /
|
||||||
|
CMD [ "/caddy", "-conf", "/Caddyfile" ]
|
12
images/pq/Makefile
Normal file
12
images/pq/Makefile
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
NAME=pq
|
||||||
|
PORT=50511
|
||||||
|
build:
|
||||||
|
mkdir -p certs
|
||||||
|
cp ../../cert/fullchain.pem certs/
|
||||||
|
cp ../../cert/privkey.pem certs/
|
||||||
|
docker build -t ${NAME} .
|
||||||
|
run:
|
||||||
|
docker run --detach --restart always --name ${NAME} -p ${PORT}:443 ${NAME}
|
||||||
|
|
||||||
|
restart:
|
||||||
|
docker restart ${NAME}
|
BIN
images/pq/bin/caddy
Executable file
BIN
images/pq/bin/caddy
Executable file
Binary file not shown.
4
images/pq/index.html
Normal file
4
images/pq/index.html
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
<html><body>DUPA
|
||||||
|
|
||||||
|
<a href="https://git.amongbytes.com/kris/qrtesting/tree/master">Details</a>
|
||||||
|
</body></html>
|
Loading…
Reference in New Issue
Block a user