I try to add specific CORS rules, and a redirection rule (for testing the conf) in a custom nginx config on a wordpress local lando site, but it's not working, my server directives seems to be ignored. Is there something wrong on my files ?
@asimongm make sure the path to your nginx.conf is correct (IE in this case nested in a file config within your project root)...otherwise this looks like the correct config to me.
Hello,
I try to add specific CORS rules, and a redirection rule (for testing the conf) in a custom nginx config on a wordpress local lando site, but it's not working, my server directives seems to be ignored. Is there something wrong on my files ?
Here is my .lando file config :
And here is my nginx.conf file config :
Thanks for helping !