Skip to content

The request URL with the port, But response the next url without the port #8683

@rikeitou-0191632

Description

@rikeitou-0191632
Request URL: http://xxx.xxx.xxx.xxx:81/aaa
Response content: 
{
  "next": "http://xxx.xxx.xxx.xxx/aaa",
  "previous": "http://xxx.xxx.xxx.xxx/aaa",
  "current": "http://xxx.xxx.xxx.xxx/aaa"
}

Nginx

upstream django_server {
    server django:8001;
}

server {
    listen       81;
    location /aaa {
         proxy_pass http://django_server;
         ...
    }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions