Control Web Panel

WebPanel => CentOS 7 Problems => Topic started by: mktar on April 03, 2023, 11:40:02 PM

Title: hi i have a problem with cors i need help
Post by: mktar on April 03, 2023, 11:40:02 PM
Something wrong in your nginx configuration - it always add double "Access-Control-Allow-Origin: *" to PHP files even when this option is disabled in all configurations.

default_cors
(https://i.ibb.co/yfsZp14/Screenshot-2023-04-04-021908.png) (https://ibb.co/mDz20wN)

Also when cancelled cors
Nginx default vhost template
(https://i.ibb.co/FwkS03v/Screenshot-2023-04-04-023038.png) (https://ibb.co/swp06RS)