1

Topic: Off Topic: Need CORS w/Nginx on my email server

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release):
- Deployed with iRedMail Easy or the downloadable installer?
- Linux/BSD distribution name and version:
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Web server (Apache or Nginx):
- Manage mail accounts with iRedAdmin-Pro?
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

I'm running 1.31 on Ubuntu w/LDAP and Nginx.  I have installed (long ago and still working) an ssl cert from letsencrypt.  I used the downloadable installer

I need to host a json and php file on my server to 'feed' a jitsi/jigasi server.

For that, I need 2 things.

1.   I need to enable CORS for https://meet.MYJITSI.com
2.   I need to listen on port 443 (I think that's right)

Given my default installation, how do I get this to work without breaking the email server/delivery?

Help from the experts?


Andrew

2

Re: Off Topic: Need CORS w/Nginx on my email server

All you off the charts geniuses (no sarcasm intended) and no help?
I'm shocked.
Show off a little and help me out <g>.

Andrew

3

Re: Off Topic: Need CORS w/Nginx on my email server

Help?

Andrew

4

Re: Off Topic: Need CORS w/Nginx on my email server

Simply search "Nginx cors" will give you many examples. smile
If you just need this for one host, then add required headers in the (web host) config file for this host.

----

Does my reply help a little? How about buying me a cup of coffee ($5) as an encouragement?

buy me a cup of coffee

5

Re: Off Topic: Need CORS w/Nginx on my email server

my first few attempts weren't working - hence my plea for help.  I ended up with a solution.  I know didly about web control/programming.

Andrew