NetBox doesn't generate HTTPS URLs #547
-
We are experiencing some weird issue with NetBox running on Docker not generating HTTPS URLs. Version we use: I have changed the URL scheme in the configuration file to: NetBox does read this file as the BANNER_TOP variable is also changed and I can see the banner changed in the UI. Our setup is as follows: Request are going through the UI on the secure port with no poblems.
I have tested with the following Docker versions: NetBox env file (sensitive information removed):
None of the production servers work properly. We have a few Dev and Staging servers, but I couldn't reproduce the problem on any of those. I changed the Target Group as well, but didn't help. The problem is with the Production servers. An identical setup in Dev produces this:
Has anyone seen such an issue before? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Got the answer here: AWS ALB didn't work as I expected, but changing the nginx.conf from |
Beta Was this translation helpful? Give feedback.
Got the answer here:
netbox-community/netbox#6862
AWS ALB didn't work as I expected, but changing the nginx.conf from
proxy_set_header X-Forwarded-Proto $scheme;
to
proxy_set_header X-Forwarded-Proto https;
did the trick.