Skip to content

Post request Failure with Nginx reverse proxy #2178

Open
@akimoto72738

Description

@akimoto72738

I use Nginx as a reverse proxy for the IPFS API interface with the domain name api.mydomain.com, and it works well. However, the EXPLORE page(only) is not functioning properly. I have identified that the browser still use 127.0.0.1:5001 for POST requests in this page. How should I configure it to make the browser use https://api.mydomain.com/ for POST requests?

image

Here is my config about api

"Addresses": {
"API": "/dns4/api.mydomain.com/tcp/5001",
"Announce": [],
"AppendAnnounce": [],
"Gateway": [
"/dns4/gateway.mydomain.com/tcp/443",
"/ip4/0.0.0.0/tcp/8080"
],

other page is normal
image

updated:
I return the webui version to [v3.0.0],then the problem resolved XD (before is 4.1.1 latest)

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/screen/peersIssues related to Peers screeneffort/hoursEstimated to take one or several hoursexp/beginnerCan be confidently tackled by newcomerskind/bugA bug in existing code (including security flaws)status/readyReady to be worked

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions