[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Can Docker/Artanis run on a network server?
From: |
Nala Ginrut |
Subject: |
Re: Can Docker/Artanis run on a network server? |
Date: |
Mon, 12 Apr 2021 11:15:37 +0800 |
User-agent: |
mu4e 1.4.15; emacs 27.2 |
Hi Mortimer!
Mortimer Cladwell writes:
> So given that caveat it seems to be working, though client is Unknown IP
> for a locally running dockerized (both client and server) app. If I move
> the dockerized server to a remote LAN machine and run undockerized
> artanis/myapp on my local workstation - still get Unknown IP.
Do you use Nginx as reverse-proxy?
If yes, you may need to redirect the header in Nginx config:
----------------cut-----------------------
proxy_set_header X-Real-IP $remote_addr;
----------------end-----------------------
then set `server.nginx = true'
Best regards.
--
GNU Powered it
GPL Protected it
GOD Blessed it
HFG - NalaGinrut
Fingerprint F53B 4C56 95B5 E4D5 6093 4324 8469 6772 846A 0058
signature.asc
Description: PGP signature