Replies: 1 comment
-
|
Additional info I discovered: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
As the title suggest I'm having trouble setting up NPM in my environment.
NPM is going to replace my "old" nginx reverse proxy I used to contact the Nextcloud instance. which worked previously without an issue. This to illustrate that the port forwarding on the provider side etc... are working as expected.
nextcloud.mydomain.comto my public IPnextcloud.mydomain.comto my host_A local IP where NPM resideshost_B.mydomain.comto the local IP where the nextcloud instance runsMy proxy host config for nextcloud forwards to
host_B.mydomain.comWhen contacting
nextcloud.mydomain.comfrom an internal client machine I can reach the nextcloud instance. However when coming from the outside, so via the public IP, the connection times out.However:
When I add
network_mode: hostto thedocker-compose.yamlI can connect from both the outside AS the inside.You would guess problem solved but in this scenario the login into NPM doesn't work... (I can get to the login page, but when I login it always returns back to the login page)
To rule out a config/compatibility issue on the Nextcloud side, I started a test container on the K3S cluster and the behavior is the same.
Basically two questions:
Is the
network_mode: hostthe way to go or shouldn't that be necessary,If not, what am I missing?
If yes: How can I make the login from NPM work?
Thanks for the assistance!
kind regards.
Beta Was this translation helpful? Give feedback.
All reactions