Skip to content

Commit

Permalink
dep updates/enable ssl_dyn_rec_enable
Browse files Browse the repository at this point in the history
  • Loading branch information
renovate[bot] authored and Zoey2936 committed Jul 1, 2023
1 parent cd058f1 commit 6c56c48
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ RUN apk add --no-cache ca-certificates git build-base && \
sed -i "s|CAPTCHA_TEMPLATE_PATH=.*|CAPTCHA_TEMPLATE_PATH=/data/etc/crowdsec/crowdsec.conf|g" lua-mod/config_example.conf


FROM zoeyvid/nginx-quic:157
FROM zoeyvid/nginx-quic:174
COPY rootfs /
RUN apk add --no-cache ca-certificates tzdata \
lua5.1-lzlib \
Expand Down
4 changes: 2 additions & 2 deletions backend/internal/certificate.js
Original file line number Diff line number Diff line change
Expand Up @@ -637,7 +637,7 @@ const internalCertificate = {
* @param {String} private_key This is the entire key contents as a string
*/
checkPrivateKey: (private_key) => {
return tempWrite(private_key, '/tmp')
return tempWrite.sync(private_key, '/tmp')
.then((filepath) => {
return new Promise((resolve, reject) => {
const failTimeout = setTimeout(() => {
Expand Down Expand Up @@ -670,7 +670,7 @@ const internalCertificate = {
* @param {Boolean} [throw_expired] Throw when the certificate is out of date
*/
getCertificateInfo: (certificate, throw_expired) => {
return tempWrite(certificate, '/tmp')
return tempWrite.sync(certificate, '/tmp')
.then((filepath) => {
return internalCertificate.getCertificateInfoFromFile(filepath, throw_expired)
.then((certData) => {
Expand Down
2 changes: 1 addition & 1 deletion backend/lib/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ const generateKeys = () => {
try {
fs.writeFileSync(keysFile, JSON.stringify(keys, null, 2));
} catch (err) {
logger.error('Could not write JWT key pair to config file: ' + keysFile + ': ' . err.message);
logger.error('Could not write JWT key pair to config file: ' + keysFile + ': ' + err.message);
process.exit(1);
}
logger.info('Wrote JWT key pair to config file: ' + keysFile);
Expand Down
8 changes: 4 additions & 4 deletions backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,21 +16,21 @@
"gravatar": "1.8.2",
"jsonwebtoken": "9.0.0",
"knex": "2.4.2",
"liquidjs": "10.8.2",
"liquidjs": "10.8.3",
"lodash": "4.17.21",
"moment": "2.29.4",
"mysql": "2.18.1",
"node-rsa": "1.1.1",
"objection": "3.0.1",
"objection": "3.0.4",
"path": "0.12.7",
"signale": "1.4.0",
"sqlite3": "5.1.6",
"temp-write": "4.0.0"
"temp-write": "5.0.0"
},
"author": "Jamie Curnow <jc@jc21.com>",
"license": "MIT",
"devDependencies": {
"eslint": "8.42.0",
"eslint": "8.44.0",
"eslint-plugin-align-assignments": "1.1.2"
}
}
1 change: 1 addition & 0 deletions rootfs/usr/local/nginx/conf/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ http {
http2 on;
http3 on;
quic_retry on;
ssl_dyn_rec_enable on;

#resolver ;
fastcgi_index index.php;
Expand Down

0 comments on commit 6c56c48

Please sign in to comment.