From 2ad954d0281b6119b84875ceddfe4fa1dc6ee2a8 Mon Sep 17 00:00:00 2001 From: Isaac Shoebottom Date: Tue, 6 Aug 2024 16:19:49 -0300 Subject: [PATCH] Add some more env vars --- wger/.env.example | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/wger/.env.example b/wger/.env.example index 4573a40..627ec4a 100644 --- a/wger/.env.example +++ b/wger/.env.example @@ -13,8 +13,8 @@ TIME_ZONE=America/Moncton # Consult the deployment section in the readme if you are running this behind a # reverse proxy with HTTPS enabled -# CSRF_TRUSTED_ORIGINS=https://my.domain.example.com,https://118.999.881.119 -# X_FORWARDED_PROTO_HEADER_SET=True +CSRF_TRUSTED_ORIGINS=https://wger.shoebottom.ca +X_FORWARDED_PROTO_HEADER_SET=True # # Static files @@ -22,8 +22,8 @@ TIME_ZONE=America/Moncton # links for some images *might* break (specially in the mobile app). Also note that # the API response is cached and contains the host, if you change this setting, just run # docker compose exec web python3 manage.py warmup-exercise-api-cache --force -# MEDIA_URL=https://your-domain.example.com/media/ -# STATIC_URL=https://your-domain.example.com/static/ +MEDIA_URL=https://wger.shoebottom.ca/media/ +STATIC_URL=https://wger.shoebottom.ca/static/ # # These settings usually don't need changing