Skip to content

[Bug]: Hard coded nginx reverse proxy domain name. #428

@confuseder

Description

@confuseder

Bug Description

    # Swagger 文档(保留 /api 前缀)
    location ~ ^/api/(docs(?:/.*)?|swagger\.json)$ {
        proxy_pass http://memoh-server:8080;
    }

    # API 代理(其余 /api/* 去掉 /api 前缀转发)
    location /api/ {
        proxy_pass http://memoh-server:8080/;
    }

Steps to Reproduce

when you dont use default domain in docker

Error Messages / Logs

Version

v0.8.0

Model Used

No response

Channel

None

Additional Context

No response

Contributing

  • I would like to submit a pull request to fix this bug

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions