CORS Broken
Unsure whats wrong but it blocks Cross Orgin Request:
<img width="1238" height="516" alt="Image" src="https://github.com/user-attachments/assets/fd548756-0a51-457d-80ed-4ae963505a4d" />
I am using proxy protocoll so my proxy looks like this:
```
set_real_ip_from 10.23.12.7;
set_real_ip_from 2a01:4f8:c17:44a::7;
real_ip_header proxy_protocol;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $proxy_protocol_addr;
proxy_set_header X-Forwarded-For $proxy_protocol_addr;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Server $host;
[...]
server {
listen 0.0.0.0:443 ssl default_server proxy_protocol;
listen [::]:443 ssl default_server proxy_protocol;
listen 0.0.0.0:80 default_server proxy_protocol;
listen [::]:80 default_server proxy_protocol;
```
关闭于 2026-04-05 4 条评论