I have not found the CORS option in CDN Setting, while activated in Dev Mode in Odoo. Can anyone help me out, or should I raise a ticket for it?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Contabilidad
- Inventario
- PoS
- Project
- MRP
Se marcó esta pregunta
In Odoo, there isn't a direct CORS (Cross-Origin Resource Sharing) option available within the CDN settings, even in Developer Mode. CORS is typically managed at the server or proxy level, not directly within Odoo’s settings. Here are a few steps to troubleshoot or manage CORS:
- Configure CORS on Your Web Server:
If you're using a CDN like Cloudflare or your server (e.g., Nginx or Apache), you need to configure CORS headers directly on the server. This can be done by editing the web server configuration to allow the necessary origins. - Using a Reverse Proxy:
If you're running Odoo behind a reverse proxy (e.g., Nginx), you can set CORS headers there. Add the necessary Access-Control-Allow-Origin headers in your Nginx/Apache config.
i am using KeyCDN, so can you please guide me step by step like Odoo Community if possible? Because I am not a developer, nor do I understand this language like "reverse proxy" or "CORS headers" and all.
¿Le interesa esta conversación? ¡Participe en ella!
Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.
InscribirsePublicaciones relacionadas | Respuestas | Vistas | Actividad | |
---|---|---|---|---|
|
1
abr 25
|
929 | ||
|
1
jul 25
|
1758 | ||
|
2
oct 22
|
2786 | ||
|
1
jun 20
|
4703 | ||
|
0
jul 25
|
3964 |