about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2021-05-21T11·21+0200
committerflokli <flokli@flokli.de>2021-05-21T11·33+0000
commitcd2e889f4176a8586b84ea4e339f16427bbde829 (patch)
tree38923ce30adc10f6749717a41899f65fa0c7765e
parent5036ae43760968aa7ad4decc5d314c7238dfcdbd (diff)
feat(apereo-cas): move away from 127.0.0.1:8443 r/2599
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 <mail@tazj.in>
-rw-r--r--ops/modules/www/login.tvl.fyi.nix2
-rw-r--r--third_party/apereo-cas/overlay/etc/cas/config/cas.properties2
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 05b7cee25338..dd2e96324186 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 f783ad0861c0..01515613d7ac 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