Skip to content

[Feature] 请问反向代理 #11877

@9a6c

Description

@9a6c

1Panel Version

最新

Please describe your needs or suggestions for improvements

1.我有一个网站(前端vue),部署在6680端口,静态网站。
2.前端会访问代理,代理在访问后端服务。代理是18080端口(反向代理),代理的后端服务是127.0.0.1:8080。
3.网站都开启了https,用的自签证书。
4.访问前端6680,无法调通代理服务,显示跨域。
所有能配置跨域相关的地方都配置了,要如何定位该问题?
Image

Image

Please describe the solution you suggest

No response

Additional Information

has been blocked by CORS policy: Request header field authorization is not allowed by Access-Control-Allow-Headers in preflight response.
No response

Metadata

Metadata

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