Replies: 2 comments 2 replies
-
There is a working docker setup here: https://github.com/netbox-community/netbox-docker This runs nginx within the main netbox docker container (so that it can serve static assets). You can put another reverse proxy in front of this if you like - it sounds like you're running another docker container for this. But how you configure that front-end proxy is up to you, and you'll need to debug it yourself. If you're getting "connection refused" this means that either the back-end isn't running, or you're pointing the front-end to the wrong back-end URL or port, or there's some sort of networking issue between them (e.g. firewalling). Unless netbox itself isn't running, then this isn't an issue with netbox itself: it's an issue with your proxy, which you'll need to solve locally. You may find "tcpdump" helpful to inspect the traffic being sent from proxy to netbox. Good luck! |
Beta Was this translation helpful? Give feedback.
-
I have an additional question. Where is the nginx.conf file? I followed up the instruction on |
Beta Was this translation helpful? Give feedback.
-
Hello
I am running netbox in docker and trying to get nginx (container: jwilder/nginx-proxy) to work as proxy.
I have used the overide file to specify the needed parameters as usuall. But get "connection refused" in the nginx container.
The IP and ports are correct and the nginx is trying the right address. The configuration.py is also containing the correct ALLOW=* option.
Not understanding what I am missing. Anyone have any suggestions ?
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions