2025-02-06, 03:27 PM
(2025-02-05, 01:39 PM)TheDreadPirate Wrote: Can you share censored versions of these two files, which would contain the info we need.
conf.d/include/proxy.conf
/data/nginx/custom/server_proxy[.]conf
This is the first one, conf.d/include/proxy.conf:
Code:
[root@docker-90e9b66e15d6:~]# cat /etc/nginx/conf.d/include/proxy.conf
add_header X-Served-By $host;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-Scheme $scheme;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Real-IP $remote_addr;
proxy_pass $forward_scheme://$server:$port$request_uri;
and the second one, /data/nginx/custom/server_proxy[.]conf, doesn't seem to exist (?) this is what is in /data/nginx/:
Code:
[root@docker-90e9b66e15d6:~]# ls -la /data/nginx/
total 36
drwxr-xr-x 9 root root 4096 Aug 24 03:57 .
drwxr-xr-x 7 root root 4096 Jan 27 01:46 ..
drwxr-xr-x 2 root root 4096 Aug 24 03:57 dead_host
drwxr-xr-x 2 root root 4096 Sep 27 01:13 default_host
drwxr-xr-x 2 root root 4096 Sep 27 01:12 default_www
drwxr-xr-x 2 root root 4096 Jan 27 01:46 proxy_host
drwxr-xr-x 2 root root 4096 Sep 1 19:52 redirection_host
drwxr-xr-x 2 root root 4096 Dec 13 07:11 stream
drwxr-xr-x 2 root root 4096 Nov 4 18:05 temp