This website works better with JavaScript.
Home
Explore
Help
Sign In
kris
/
qrtesting
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
pq: introduces caddy with post quantum crypto
keep-around/7f12695beac7e08f9823d3e7cc13bb5387f277d7
Kris
6 years ago
parent
e8534e5b70
commit
7f12695bea
5 changed files
with
35 additions
and
0 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+9
-0
images/pq/Caddyfile
+10
-0
images/pq/Dockerfile
+12
-0
images/pq/Makefile
BIN
+4
-0
images/pq/index.html
+ 9
- 0
images/pq/Caddyfile
View 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
- 0
images/pq/Dockerfile
View 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
- 0
images/pq/Makefile
View 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
View File
+ 4
- 0
images/pq/index.html
View File
@@ -0,0 +1,4 @@
<html><body>DUPA
<a href="https://git.amongbytes.com/kris/qrtesting/tree/master">Details</a>
</body></html>
Write
Preview
Loading…
Cancel
Save