Commit graph

2 commits

Author SHA1 Message Date
Seyed Mansour Mirbehbahani
6c5dbf54e7 🔼 Since resolved_progo_map.conf doesn't change content per host, we should put it in /docker/rootfs/etc/nginx/conf.d/include/resolved_proto_map.conf instead. 2024-12-29 14:49:31 +03:30
Seyed Mansour Mirbehbahani
993ce372b2 🔼 added $resolved_proto map
to ensure that the X-Forwarded-Proto and X-Forwarded-Scheme headers reflect the most accurate protocol. The resolved_proto variable prioritizes the X-Forwarded-Proto header (set by sources like Cloudflare or AWS) and falls back to $scheme when unavailable, then this value is used to set Scheme and Proto instead of $scheme
2024-12-29 09:41:42 +03:30