I used the command lxc config device add nginx-proxy hostport443 proxy listen=tcp:0.0.0.0:443 connect=tcp:127.0.0.1:443 to allow the nginx service within the "nginx-proxy" instance to respond to client requests on port 443 of the host device. However, I noticed in the nginx logs that the remote_addr is now showing the IP address of the host device instead of the actual client IP address. What should I do to resolve this issue?
Nginx in LXD container: remote_addr showing host IP instead of client IP in logs
84 Views Asked by luxi78 At
0
There are 0 best solutions below
Related Questions in LXD
- LXC broken after router malfunction
- Install ArangoDB3 ubuntu lxd (Qnap NAS) FATAL Error 132
- Nginx in LXD container: remote_addr showing host IP instead of client IP in logs
- k3s issues with lxe is throwing disk size and imagepulling error
- Configuring LXD storage pools with Ansible
- LXC container with windows died
- Websockets in Python for instance exec command in LXD
- How to resize an ubuntu LXC LXD container
- How to start an LXC LXD container in Ubuntu
- Multiple levels of NGINX Reverse Proxy: one at router gateway level and another on each LXD Server Environment?
- Stuck in a "Running machine configuration script"
- Is there a way I can make LXD container capture packets while keeping parent interface available in host machine to capture packets from there too?
- Keep system asynchronous using execSync node.js
- Problem with node.js child_process exec for lxc/lxd launch/delete commands
- Configure lxc to set the header x-forwarded-for
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?