fix: pkg: the og tags did not have proper http schema - they should have https #4
This commit is contained in:
12
README.md
12
README.md
@@ -151,6 +151,7 @@ services:
|
||||
app:
|
||||
environment:
|
||||
MAILER_DSN: smtp://mail:1025?verify_peer=0
|
||||
TRUSTED_PROXIES: "0.0.0.0/0"
|
||||
mail:
|
||||
image: mailhog/mailhog:latest
|
||||
ports:
|
||||
@@ -233,8 +234,13 @@ MERCURE_SUBSCRIBER_JWT="<generated by make mercure-jwt>"
|
||||
APP_PUBLIC_HOSTNAME=mineseeker.hu
|
||||
WEBAUTHN_RP_ID=mineseeker.hu
|
||||
WEBAUTHN_ORIGIN=https://mineseeker.hu
|
||||
```
|
||||
|
||||
# OG Tags & Social Media Sharing (IMPORTANT for Docker deployments)
|
||||
# TRUSTED_PROXIES: IP address (or range) of your reverse proxy (Caddy/Nginx)
|
||||
# This ensures OG image tags use HTTPS URLs instead of HTTP
|
||||
TRUSTED_PROXIES="172.18.0.0/16"
|
||||
TRUSTED_HOSTS="mineseeker.hu,www.mineseeker.hu"
|
||||
```
|
||||
### Production server: one-time setup
|
||||
|
||||
The server needs Docker, Git, and a self-hosted `act_runner` registered against the Gitea repository. Bun and Composer run inside the multi-stage Dockerfile, so they are not needed on the server.
|
||||
@@ -254,7 +260,7 @@ make mercure-jwt
|
||||
|
||||
Copy the three printed values into the `PROD_ENV_FILE` secret.
|
||||
|
||||
#### 5. First deploy
|
||||
#### 3. First deploy
|
||||
|
||||
Trigger it by pushing the first tag:
|
||||
|
||||
@@ -265,7 +271,7 @@ git push origin v2026.01
|
||||
|
||||
This writes `.env`, builds the Docker image, starts all services, runs migrations, and initialises the MinIO buckets automatically via `minio_init`.
|
||||
|
||||
#### 6. Verify
|
||||
#### 4. Verify
|
||||
|
||||
```bash
|
||||
docker compose ps # all services should be healthy/running
|
||||
|
||||
Reference in New Issue
Block a user