Skip to content

XHR request for starting Job returns internal IP as URL instead of configured FQDN #672

Answered by gmazoyer
Sushi1324 asked this question in Q&A
Discussion options

You must be logged in to vote

My config is similar but I don't face this specific issue.

Relevant config snippets are:

    location /static/ {
        alias /opt/peering-manager/static/;
    }

    # reverse proxy
    location / {
        proxy_pass http://localhost:8001;
        include    /etc/nginx/conf.d/proxy.conf;
    }

/etc/nginx/conf.d/proxy.conf contains:

proxy_http_version                 1.1;
proxy_cache_bypass                 $http_upgrade;

# Proxy headers
proxy_set_header Upgrade           $http_upgrade;
proxy_set_header Connection        "upgrade";
proxy_set_header Host              $host;
proxy_set_header X-Real-IP         $remote_addr;
proxy_set_header X-Forwarded-For   $proxy_add_x_forwarded_for;
pr…

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@Sushi1324
Comment options

@gmazoyer
Comment options

@Sushi1324
Comment options

@gmazoyer
Comment options

@Sushi1324
Comment options

Answer selected by gmazoyer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #671 on January 11, 2023 09:49.