We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
How do I add Access-Control-Allow-Origin in vestacp? cors
Re: How do I add Access-Control-Allow-Origin in vestacp? cors
Andy, good point! Always better use templates.youradds wrote:You shouldn't be editing the nginx.conf file directly!!!! Always edit the templates:/usr/local/vesta/data/templates/web
-
- Posts: 11
- Joined: Mon Feb 01, 2021 7:38 am
- Os: Ubuntu 17x
- Web: apache + nginx
Re: How do I add Access-Control-Allow-Origin in vestacp? cors
Thanks skurudo!
Can you please elaborate on how to do this?
I have the same issue as the thread starter. I was advised by my Wordpress Theme provider to enable CORS as it's blocking access to some font due to No "access-control-allow-origin' header present.
So how can this be fixed. Do I create an empty config file in that use director you provided under nginx and add the lines of code advised earlier in this thread.
It would be great if someone could help clearly explain the proper way to fix this, so that I can change this on my site and others that come across this thread can fix their site on their own as well. Thanks!
Can you please elaborate on how to do this?
I have the same issue as the thread starter. I was advised by my Wordpress Theme provider to enable CORS as it's blocking access to some font due to No "access-control-allow-origin' header present.
So how can this be fixed. Do I create an empty config file in that use director you provided under nginx and add the lines of code advised earlier in this thread.
It would be great if someone could help clearly explain the proper way to fix this, so that I can change this on my site and others that come across this thread can fix their site on their own as well. Thanks!