This website works better with JavaScript.
首頁
探索
說明
登入
kris
/
qrtesting
關註
1
收藏
0
複製
0
程式碼
問題管理
0
合併請求
0
版本發佈
0
Wiki
Activity
瀏覽代碼
pq: introduces caddy with post quantum crypto
keep-around/7f12695beac7e08f9823d3e7cc13bb5387f277d7
Kris
6 年之前
父節點
e8534e5b70
當前提交
7f12695bea
共有
5 個文件被更改
,包括
35 次插入
和
0 次删除
分割檢視
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
二進制
+4
-0
images/pq/index.html
+ 9
- 0
images/pq/Caddyfile
查看文件
@@ -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
查看文件
@@ -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
查看文件
@@ -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}
二進制
查看文件
+ 4
- 0
images/pq/index.html
查看文件
@@ -0,0 +1,4 @@
<html><body>DUPA
<a href="https://git.amongbytes.com/kris/qrtesting/tree/master">Details</a>
</body></html>
Write
Preview
Loading…
取消
儲存