add trusted proxies configuration
CI (Gitea) / docker-image (push) Has been cancelled
CI (Gitea) / php-tests (push) Has been cancelled

This commit is contained in:
boris committed 2025-11-28 08:47:17 +00:00
1 parent d52eb6bd81
commit f109c933c1
4 files changed
+3 -2

No files matched your search

Vendored
BIN
View File
Binary file not shown.
+2
View File
@@ -1,6 +1,8 @@
# see https://symfony.com/doc/current/reference/configuration/framework.html # see https://symfony.com/doc/current/reference/configuration/framework.html
framework: framework:
secret: '%env(APP_SECRET)%' secret: '%env(APP_SECRET)%'
trusted_proxies: '%env(TRUSTED_PROXIES)%'
trusted_headers: ['x-forwarded-for','x-forwarded-proto','x-forwarded-port','x-forwarded-host','x-forwarded-prefix']
# Note that the session will be started ONLY if you read or write from it. # Note that the session will be started ONLY if you read or write from it.
session: true session: true
+1 -2
View File
@@ -1,7 +1,6 @@
services: services:
tonehaus: tonehaus:
# image: tonehaus/tonehaus:dev-arm64 image: git.ntbx.io/boris/tonehaus:latest-arm64
image: git.ntbx.io/boris/tonehaus:latest
container_name: tonehaus container_name: tonehaus
restart: unless-stopped restart: unless-stopped
volumes: volumes:
BIN
View File
Binary file not shown.