From 90881aa0857c19218f80f624f8fca00f44750afb Mon Sep 17 00:00:00 2001 From: Daniel Kluge Date: Tue, 15 Nov 2022 13:41:51 +0100 Subject: [PATCH 1/2] Minor improvements --- README.md | 2 +- pages/me.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 232f6e7..a69f406 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Frontpage -[![Read the blog entry at c0ntroller.de](https://c0ntroller.de/img/read-blog.svg)](https://c0ntroller.de/#/project/homepage) +[![Read the blog entry at c0ntroller.de](https://c0ntroller.de/img/read-blog.svg)](https://c0ntroller.de/blog/project/terminal) | Stable | Dev | ------ | --- diff --git a/pages/me.tsx b/pages/me.tsx index 65491ee..929bcba 100644 --- a/pages/me.tsx +++ b/pages/me.tsx @@ -108,7 +108,7 @@ const Me: NextPage = () => {

Social Media

- {socials("2em").map((social, i) => + {socials("2em").filter((social) => social.name !== "PGP Key").map((social, i) => {social.icon} From 08d1a18b253daf1497f2d693ae9cc7fc369199bc Mon Sep 17 00:00:00 2001 From: Daniel Kluge Date: Thu, 29 Dec 2022 18:15:18 +0100 Subject: [PATCH 2/2] Remove unsafe traefik entrypoint --- docker-compose.dev.yml | 13 +++++-------- docker-compose.stable.yml | 13 +++++-------- 2 files changed, 10 insertions(+), 16 deletions(-) diff --git a/docker-compose.dev.yml b/docker-compose.dev.yml index da3acb1..4139626 100644 --- a/docker-compose.dev.yml +++ b/docker-compose.dev.yml @@ -13,15 +13,12 @@ services: labels: - "traefik.enable=true" - "traefik.docker.network=traefik" - - "traefik.http.routers.website-dev.entrypoints=web" + - "traefik.http.routers.website-dev.entrypoints=websecure" - "traefik.http.routers.website-dev.rule=Host(`dev.c0ntroller.de`)" - - "traefik.http.routers.website-dev.middlewares=http-to-https@file" - - "traefik.http.routers.website-dev-secure.entrypoints=websecure" - - "traefik.http.routers.website-dev-secure.rule=Host(`dev.c0ntroller.de`)" - - "traefik.http.routers.website-dev-secure.middlewares=secHeaders@file" - - "traefik.http.routers.website-dev-secure.tls=true" - - "traefik.http.routers.website-dev-secure.tls.certresolver=le" - - "traefik.http.routers.website-dev-secure.service=website-dev" + - "traefik.http.routers.website-dev.middlewares=secHeaders@file" + - "traefik.http.routers.website-dev.tls=true" + - "traefik.http.routers.website-dev.tls.certresolver=le" + - "traefik.http.routers.website-dev.service=website-dev" - "traefik.http.services.website-dev.loadbalancer.server.port=3000" environment: - IS_DEV_ENV=true diff --git a/docker-compose.stable.yml b/docker-compose.stable.yml index d567e49..b088d9c 100644 --- a/docker-compose.stable.yml +++ b/docker-compose.stable.yml @@ -13,15 +13,12 @@ services: labels: - "traefik.enable=true" - "traefik.docker.network=traefik" - - "traefik.http.routers.website-stable.entrypoints=web" + - "traefik.http.routers.website-stable.entrypoints=websecure" - "traefik.http.routers.website-stable.rule=Host(`c0ntroller.de`)" - - "traefik.http.routers.website-stable.middlewares=http-to-https@file" - - "traefik.http.routers.website-stable-secure.entrypoints=websecure" - - "traefik.http.routers.website-stable-secure.rule=Host(`c0ntroller.de`)" - - "traefik.http.routers.website-stable-secure.middlewares=secHeaders@file" - - "traefik.http.routers.website-stable-secure.tls=true" - - "traefik.http.routers.website-stable-secure.tls.certresolver=le" - - "traefik.http.routers.website-stable-secure.service=website-stable" + - "traefik.http.routers.website-stable.middlewares=secHeaders@file" + - "traefik.http.routers.website-stable.tls=true" + - "traefik.http.routers.website-stable.tls.certresolver=le" + - "traefik.http.routers.website-stable.service=website-stable" - "traefik.http.services.website-stable.loadbalancer.server.port=3000" environment: - IS_DEV_ENV=true