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 -

-
-
{/* spacer */} -
{/* spacer */} -
-
-
- - post thumbnail -
-

- Nginx + SSL Client Certificate Verification: Manage Access to a - site +

+
+ {`blog +
+
+

+ 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

- +
+
+
+
+ + post thumbnail +
+

+ 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! -

-
-
-
); } diff --git a/next.config.js b/next.config.js index 21db591..7250895 100644 --- a/next.config.js +++ b/next.config.js @@ -4,6 +4,15 @@ const nextConfig = { webpack: (config) => { config.externals = [...config.externals, "jsdom"]; return config; + }, + images: { + remotePatterns: [ + { + protocol: "https", + hostname: "assets.suyono.me", + pathname: "/**" + }, + ] } } diff --git a/public/assets/placeholder.webp b/public/assets/placeholder.webp deleted file mode 100644 index 9129dcb..0000000 Binary files a/public/assets/placeholder.webp and /dev/null differ diff --git a/public/assets/pthumb.webp b/public/assets/pthumb.webp deleted file mode 100644 index 8b5bd57..0000000 Binary files a/public/assets/pthumb.webp and /dev/null differ diff --git a/tailwind.config.ts b/tailwind.config.ts index adcbf29..7050b7e 100644 --- a/tailwind.config.ts +++ b/tailwind.config.ts @@ -12,10 +12,12 @@ const config: Config = { 'gradient-radial': 'radial-gradient(var(--tw-gradient-stops))', 'gradient-conic': 'conic-gradient(from 180deg at 50% 50%, var(--tw-gradient-stops))', - 'blog-cover': "url('/assets/placeholder.webp')" }, width: { '224': '56rem', + }, + height: { + '192': '48rem', } }, },