Add PublicUrl support for reverse proxy handling
Build and Push Docker Image / build-and-push (push) Failing after 16s

Introduced a `PUBLIC_URL` environment variable to configure the
public URL for OAuth callbacks and reverse proxy scenarios. Updated
`Program.cs` to rewrite request scheme and host based on `PublicUrl`.
Replaced `Microsoft.AspNetCore.Components.Authorization` with
`Microsoft.AspNetCore.Components.Authentication`. Added `PublicUrl`
to `appsettings.json` with a default empty value.
This commit is contained in:
Arne Moerman
2026-05-17 22:06:16 +02:00
parent 2bf0295508
commit 0d8194a1d9
4 changed files with 19 additions and 2 deletions
+1
View File
@@ -22,6 +22,7 @@ services:
- Smtp__Password=${SMTP_PASSWORD}
- Smtp__FromAddress=${SMTP_FROM_ADDRESS}
- Smtp__FromName=${SMTP_FROM_NAME}
- PublicUrl=${PUBLIC_URL}
depends_on:
- mssql
networks: