From cd2e889f4176a8586b84ea4e339f16427bbde829 Mon Sep 17 00:00:00 2001 From: Florian Klink Date: Fri, 21 May 2021 13:21:04 +0200 Subject: [PATCH] feat(apereo-cas): move away from 127.0.0.1:8443 The following commit itends to bind on port 8443 on all interfaces, so let's move this to something else. Change-Id: Ibb94a0f4e6892b6e543b542b89bcdaaefb617f23 Reviewed-on: https://cl.tvl.fyi/c/depot/+/3126 Tested-by: BuildkiteCI Reviewed-by: tazjin --- ops/modules/www/login.tvl.fyi.nix | 2 +- third_party/apereo-cas/overlay/etc/cas/config/cas.properties | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ops/modules/www/login.tvl.fyi.nix b/ops/modules/www/login.tvl.fyi.nix index 05b7cee25..dd2e96324 100644 --- a/ops/modules/www/login.tvl.fyi.nix +++ b/ops/modules/www/login.tvl.fyi.nix @@ -13,7 +13,7 @@ extraConfig = '' location / { - proxy_pass http://localhost:8443; + proxy_pass http://localhost:8444; proxy_set_header X-Forwarded-For $remote_addr; proxy_set_header X-Forwarded-Proto https; proxy_set_header Host $host; diff --git a/third_party/apereo-cas/overlay/etc/cas/config/cas.properties b/third_party/apereo-cas/overlay/etc/cas/config/cas.properties index f783ad086..01515613d 100644 --- a/third_party/apereo-cas/overlay/etc/cas/config/cas.properties +++ b/third_party/apereo-cas/overlay/etc/cas/config/cas.properties @@ -6,7 +6,7 @@ server.servlet.context.path=/ cas.service-registry.json.location=file:/etc/cas/services -server.port=8443 +server.port=8444 server.address=127.0.0.1 server.ssl.enabled=false