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
81 Views Asked by luxi78 At
0
There are 0 best solutions below
Related Questions in LXD
- Cannot create a new image (x509 error)
- k3s issues with lxe is throwing disk size and imagepulling error
- Nginx in LXD container: remote_addr showing host IP instead of client IP in logs
- Install ArangoDB3 ubuntu lxd (Qnap NAS) FATAL Error 132
- How to full back lxc container?
- How to configure LXD container devices using saltstack "lxd_container.present" function?
- permission denied on installing lxd via snap
- LXD local pylxd.Client connection sees no containers while "lxc list" command lists a dozen
- juju not able to spin up lxd container
- How to view live file system of Multipass VM using LXD driver externally?
- LXD Import hangs after 100%
- Cannot Reach Kestrel + NGINX (proxy) Website Hosted in LXD Container
- What is the difference between lxc commands lxc start and lxc-start, etc?
- LXD DHCP handing out IP addresses
- What is the difference majorly featurewise between Canonical LXD container software and docker container software?
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 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?