[GH-ISSUE #882] Access-Control-Allow-Origin for all #746

Closed
opened 2026-02-26 06:34:14 +03:00 by kerem · 5 comments
Owner

Originally created by @fturiot on GitHub (Feb 9, 2021).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/882

Problem with cors reject
how can i change add_header Access-Control-Allow-Origin
i have add in host config but no result
thanks for help

Originally created by @fturiot on GitHub (Feb 9, 2021). Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/882 Problem with cors reject how can i change add_header Access-Control-Allow-Origin i have add in host config but no result thanks for help
kerem 2026-02-26 06:34:14 +03:00
Author
Owner

@vercas commented on GitHub (Feb 22, 2021):

What you need is this, as far as I know:

proxy_set_header 'Access-Control-Allow-Origin' "https://example.com";
<!-- gh-comment-id:783498178 --> @vercas commented on GitHub (Feb 22, 2021): What you need is this, as far as I know: ```nginx proxy_set_header 'Access-Control-Allow-Origin' "https://example.com"; ```
Author
Owner

@fturiot commented on GitHub (Feb 22, 2021):

yes but i have solve thanks

<!-- gh-comment-id:783554612 --> @fturiot commented on GitHub (Feb 22, 2021): yes but i have solve thanks
Author
Owner

@vercas commented on GitHub (Feb 23, 2021):

@fturiot Then close the issue?

<!-- gh-comment-id:784230123 --> @vercas commented on GitHub (Feb 23, 2021): @fturiot Then close the issue?
Author
Owner

@aguirre-julian commented on GitHub (Nov 19, 2021):

Lo que necesitas es esto, hasta donde yo sé:

proxy_set_header  'Access-Control-Allow-Origin'  "https://example.com" ;

where?

<!-- gh-comment-id:973742984 --> @aguirre-julian commented on GitHub (Nov 19, 2021): > Lo que necesitas es esto, hasta donde yo sé: > > ```nginx > proxy_set_header 'Access-Control-Allow-Origin' "https://example.com" ; > ``` where?
Author
Owner

@aguirre-julian commented on GitHub (Nov 19, 2021):

si pero lo he solucionado gracias

how?

<!-- gh-comment-id:973743457 --> @aguirre-julian commented on GitHub (Nov 19, 2021): > si pero lo he solucionado gracias how?
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/nginx-proxy-manager-NginxProxyManager#746
No description provided.