diff --git a/Dockerfile b/Dockerfile index a6f3b68..29db91e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,7 +4,7 @@ FROM base as builder USER 1000:1000 ADD --chown=1000:1000 . /home/node/nextts WORKDIR /home/node/nextts -RUN wget -qO- https://get.pnpm.io/install.sh | ENV="/home/node/.shrc" SHELL="$(which sh)" sh - +RUN wget -qO- https://get.pnpm.io/install.sh | PNPM_VERSION="8.15.3" ENV="/home/node/.shrc" SHELL="$(which sh)" sh - ENV PATH=/home/node/.local/share/pnpm:$PATH RUN pnpm install && pnpm run build @@ -29,7 +29,7 @@ ENV NODE_ENV production ENV HOME /home/node ENV HOSTNAME "0.0.0.0" -RUN wget -qO- https://get.pnpm.io/install.sh | ENV="/home/node/.shrc" SHELL="$(which sh)" sh - +RUN wget -qO- https://get.pnpm.io/install.sh | PNPM_VERSION="8.15.3" ENV="/home/node/.shrc" SHELL="$(which sh)" sh - ENV PATH=/home/node/.local/share/pnpm:$PATH RUN pnpm install diff --git a/app/page.tsx b/app/page.tsx index 3dd56e9..9a07496 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -4,66 +4,73 @@ import { raleway, syne, questrial } from "@/app/fonts"; export default function Home() { return ( -
- SUYONO -
-- A Tech Archive -
-- Nginx + SSL Client Certificate Verification: Manage Access to a - site +
+ SUYONO
-- Access control is a fundamental part of security. Most entities - rely on the combination of username and password, sometimes with - additional multi-factor authentication to improve security. Some - entities also use the SSL client certificate verification to - manage access to specific resources. One of the use cases where - SSL client certificate verification fits perfectly is managing - access to internet-facing development or staging servers. In - this post, I'll share how to set up the certificates and - configure nginx to verify users based on their certificates. +
+ A Tech Archive
+ Nginx + SSL Client Certificate Verification: Manage Access to a + site +
++ Access control is a fundamental part of security. Most entities + rely on the combination of username and password, sometimes with + additional multi-factor authentication to improve security. Some + entities also use the SSL client certificate verification to + manage access to specific resources. One of the use cases where + SSL client certificate verification fits perfectly is managing + access to internet-facing development or staging servers. In + this post, I'll share how to set up the certificates and + configure nginx to verify users based on their certificates. +
+Hi There
++ a new take on experience is the best teacher +
++ I started this blog as an archive of my experiences and knowledge. + By writing them out, I hope it will help me unlearn and relearn the + various knowledge and skills I've accumulated. I hope the + articles, source code examples, and server config examples I wrote + will help you somehow. Read on and enjoy! +
+Hi There
-- a new take on experience is the best teacher -
-- I started this blog as an archive of my experiences and knowledge. - By writing them out, I hope it will help me unlearn and relearn the - various knowledge and skills I've accumulated. I hope the - articles, source code examples, and server config examples I wrote - will help you somehow. Read on and enjoy! -
-