Fix httpPorts host detection
This commit is contained in:
@@ -9,14 +9,14 @@ cloudron build \
|
|||||||
--set-build-service builder.docker.due.ren \
|
--set-build-service builder.docker.due.ren \
|
||||||
--build-service-token e3265de06b1d0e7bb38400539012a8433a74c2c96a17955e \
|
--build-service-token e3265de06b1d0e7bb38400539012a8433a74c2c96a17955e \
|
||||||
--set-repository andreasdueren/ente-cloudron \
|
--set-repository andreasdueren/ente-cloudron \
|
||||||
--tag 0.5.0
|
--tag 0.5.1
|
||||||
```
|
```
|
||||||
|
|
||||||
## Install
|
## Install
|
||||||
```bash
|
```bash
|
||||||
cloudron install \
|
cloudron install \
|
||||||
--location ente.due.ren \
|
--location ente.due.ren \
|
||||||
--image andreasdueren/ente-cloudron:0.5.0
|
--image andreasdueren/ente-cloudron:0.5.1
|
||||||
```
|
```
|
||||||
|
|
||||||
## After Install
|
## After Install
|
||||||
|
|||||||
@@ -1,5 +1,9 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## 0.5.1 (2025-11-05)
|
||||||
|
|
||||||
|
* Fix `httpPorts` host detection so accounts/cast/family/albums subdomains serve their static frontends again
|
||||||
|
|
||||||
## 0.5.0 (2025-11-04)
|
## 0.5.0 (2025-11-04)
|
||||||
|
|
||||||
* Proxy Museum GET/HEAD routes (e.g. `/collections`, `/files`, `/remote-store`) so clients that talk to the primary host without `/api` still hit the backend
|
* Proxy Museum GET/HEAD routes (e.g. `/collections`, `/files`, `/remote-store`) so clients that talk to the primary host without `/api` still hit the backend
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
"contactEmail": "contact@ente.io",
|
"contactEmail": "contact@ente.io",
|
||||||
"website": "https://ente.io",
|
"website": "https://ente.io",
|
||||||
"tagline": "Open source, end-to-end encrypted photo backup",
|
"tagline": "Open source, end-to-end encrypted photo backup",
|
||||||
"version": "0.5.0",
|
"version": "0.5.1",
|
||||||
"upstreamVersion": "git-main",
|
"upstreamVersion": "git-main",
|
||||||
"healthCheckPath": "/health",
|
"healthCheckPath": "/health",
|
||||||
"httpPort": 3080,
|
"httpPort": 3080,
|
||||||
|
|||||||
5
start.sh
5
start.sh
@@ -22,6 +22,11 @@ resolve_http_hostname() {
|
|||||||
value="$(printenv "$alt_varname" 2>/dev/null || true)"
|
value="$(printenv "$alt_varname" 2>/dev/null || true)"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ -z "$value" ]; then
|
||||||
|
local bare_varname="${env_key}"
|
||||||
|
value="$(printenv "$bare_varname" 2>/dev/null || true)"
|
||||||
|
fi
|
||||||
|
|
||||||
if [ -z "$value" ]; then
|
if [ -z "$value" ]; then
|
||||||
if [ "$APP_FQDN" = "localhost" ]; then
|
if [ "$APP_FQDN" = "localhost" ]; then
|
||||||
printf '%s\n' "$APP_FQDN"
|
printf '%s\n' "$APP_FQDN"
|
||||||
|
|||||||
Reference in New Issue
Block a user