Just an update for anyone following this thread. The team helped and found I was using the "wrong" IP address to log into the webserver. It was the webserver of my other website hence everything I did was affecting that website and not this. :(
And following this, fixed my CORS issue...
Here's a snapshot of error.log just in case it could help tracing the problem.
2021-05-30 17:44:30.062210 [NOTICE]  [LocalWorker::workerExec] Config[lsphp]: suExec uid 33 gid 33 cmd /usr/local/lsws/lsphp74/bin/lsphp, final uid 33 gid 33, flags: 0.
2021-05-30 17:44:30.062621 [NOTICE]...
Thanks a ton for helping. I tried the above settings on both the configs below,
After saving it, restarted the web server, purged all cache, however still the fonts don't load at https://sameerahmedkhan.com/:(
And these were the "Context settings I created and it didn't work out. I created the 2nd file static file
And in the file,
URI: /exp: \.(ttf|woff|woff2)$
Enable Rewrite: Yes
Rewrite Rules: Header set Access-Control-Allow-Origin "*"
- And then restarted...
Hey Guys - I recently started using OpenLiteSpeed and started loving it.
Then I started experimenting and see what's best for speed. I'm testing atm,
EC2 (AWS): WordPress site is on EC2 AWS (Openlitespeed Image)
Cloudflare: For Cache and (modifications of CSS, JS, and HTML)