diff --git a/CHANGELOG.md b/CHANGELOG.md index a0514c326..c1c1f569f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ ## v1.22.2 {release-date} ### Changes +- [#956](https://github.com/LayerManager/layman/issues/956) Fix login to GeoServer with https protocol. - [#952](https://github.com/LayerManager/layman/issues/952) Fix patch saving publication files before access right validation. ## v1.22.1 diff --git a/src/layman_settings.py b/src/layman_settings.py index 75d12eac0..40725a19d 100644 --- a/src/layman_settings.py +++ b/src/layman_settings.py @@ -241,7 +241,7 @@ class EnumWfsWmsStatus(Enum): LAYMAN_PUBLIC_URL_SCHEME = urlparse(LAYMAN_CLIENT_PUBLIC_URL).scheme LAYMAN_GS_PROXY_BASE_URL = urljoin(f'{LAYMAN_PUBLIC_URL_SCHEME}://{LAYMAN_PROXY_SERVER_NAME}', LAYMAN_GS_PATH) -LAYMAN_GS_PROXY_BASE_URL_WITH_PLACEHOLDERS = f'${{X-Forwarded-Proto}}://${{X-Forwarded-Host}}${{X-Forwarded-Path}}{LAYMAN_GS_PATH}' +LAYMAN_GS_PROXY_BASE_URL_WITH_PLACEHOLDERS = f'${{X-Forwarded-Proto}}://${{X-Forwarded-Host}}${{X-Forwarded-Path}}{LAYMAN_GS_PATH} {LAYMAN_GS_PROXY_BASE_URL}' CSW_URL = os.getenv('CSW_URL', None) CSW_PROXY_URL = os.getenv('CSW_PROXY_URL', None)