File tree Expand file tree Collapse file tree 5 files changed +4
-30
lines changed Expand file tree Collapse file tree 5 files changed +4
-30
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ require (
12
12
github.com/go-chi/chi v4.1.2+incompatible
13
13
github.com/go-chi/cors v1.2.1
14
14
github.com/go-chi/jwtauth v4.0.4+incompatible
15
- github.com/jc21/go-sse v0.0.0-20230307041911-8ea9bdc44a58
15
+ github.com/jc21/go-sse v0.0.0-20230307071053-2e6b1dbcb7ec
16
16
github.com/jc21/jsref v0.0.0-20210608024405-a97debfc4760
17
17
github.com/jmoiron/sqlx v1.3.5
18
18
github.com/mattn/go-sqlite3 v1.14.16
Original file line number Diff line number Diff line change @@ -33,6 +33,8 @@ github.com/jc21/go-sse v0.0.0-20230307015818-b2783ddda573 h1:aaRu9mFSjxNfbXWVe7M
33
33
github.com/jc21/go-sse v0.0.0-20230307015818-b2783ddda573 /go.mod h1:4v5Xmm0eYuaWqKJ63XUV5YfQPoxtId3DgDytbnWhi+s =
34
34
github.com/jc21/go-sse v0.0.0-20230307041911-8ea9bdc44a58 h1:WSD0YdEuFPZHIe8hkAjxoAEWZnzieAiLg3zw28EVf80 =
35
35
github.com/jc21/go-sse v0.0.0-20230307041911-8ea9bdc44a58 /go.mod h1:4v5Xmm0eYuaWqKJ63XUV5YfQPoxtId3DgDytbnWhi+s =
36
+ github.com/jc21/go-sse v0.0.0-20230307071053-2e6b1dbcb7ec h1:KKntwkZlM2w/88QiDyAeZ4th8grqtituzMW8qyapYzc =
37
+ github.com/jc21/go-sse v0.0.0-20230307071053-2e6b1dbcb7ec /go.mod h1:4v5Xmm0eYuaWqKJ63XUV5YfQPoxtId3DgDytbnWhi+s =
36
38
github.com/jc21/jsref v0.0.0-20210608024405-a97debfc4760 h1:7wxq2DIgtO36KLrFz1RldysO0WVvcYsD49G9tyAs01k =
37
39
github.com/jc21/jsref v0.0.0-20210608024405-a97debfc4760 /go.mod h1:yIq2t51OJgVsdRlPY68NAnyVdBH0kYXxDTFtUxOap80 =
38
40
github.com/jmoiron/sqlx v1.3.5 h1:vFFPA71p1o5gAeqtEAwLU4dnX2napprKtHr7PYIcN3g =
Original file line number Diff line number Diff line change @@ -70,18 +70,6 @@ RUN rm -rf /etc/services.d/frontend \
70
70
/tmp/* \
71
71
/var/lib/dpkg/status-old
72
72
73
- # Dummy cert
74
- RUN openssl req \
75
- -new \
76
- -newkey rsa:2048 \
77
- -days 3650 \
78
- -nodes \
79
- -x509 \
80
- -subj '/O=Nginx Proxy Manager/OU=Dummy Certificate/CN=localhost' \
81
- -keyout /etc/ssl/certs/dummykey.pem \
82
- -out /etc/ssl/certs/dummycert.pem \
83
- && chmod +r /etc/ssl/certs/dummykey.pem /etc/ssl/certs/dummycert.pem
84
-
85
73
VOLUME /data
86
74
87
75
CMD [ "/init" ]
Original file line number Diff line number Diff line change @@ -51,18 +51,6 @@ RUN chown -R 1000:1000 /opt/go
51
51
COPY --from=pebbleca /test/certs/pebble.minica.pem /etc/ssl/certs/pebble.minica.pem
52
52
COPY --from=testca /home/step/certs/root_ca.crt /etc/ssl/certs/NginxProxyManager.crt
53
53
54
- # Dummy cert
55
- RUN openssl req \
56
- -new \
57
- -newkey rsa:2048 \
58
- -days 3650 \
59
- -nodes \
60
- -x509 \
61
- -subj '/O=Nginx Proxy Manager/OU=Dummy Certificate/CN=localhost' \
62
- -keyout /etc/ssl/certs/dummykey.pem \
63
- -out /etc/ssl/certs/dummycert.pem \
64
- && chmod +r /etc/ssl/certs/dummykey.pem /etc/ssl/certs/dummycert.pem
65
-
66
54
EXPOSE 80
67
55
CMD [ "/init" ]
68
56
HEALTHCHECK --interval=15s --timeout=3s CMD curl -f http://127.0.0.1:81/api || exit 1
Original file line number Diff line number Diff line change @@ -18,10 +18,6 @@ server {
18
18
server_name localhost;
19
19
include conf.d/include/block-exploits.conf;
20
20
access_log /data/logs/default.log proxy;
21
-
22
- ssl_certificate /etc/ssl/certs/dummycert.pem;
23
- ssl_certificate_key /etc/ssl/certs/dummykey.pem;
24
- include conf.d/include/ssl-ciphers.conf;
25
-
21
+ ssl_reject_handshake on;
26
22
return 444;
27
23
}
You can’t perform that action at this time.
0 commit comments