Add CORS headers

tags/ipasserelle-im-0.2.18-1
Daniel Berteaud 5 years ago
parent 1ffc0aaaf2
commit 3979996240
  1. 2
      root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/Ejabberd/80Ejabberd

@ -29,6 +29,8 @@ EOF
ProxyPass / http://localhost:5280/ ProxyPass / http://localhost:5280/
ProxyPassReverse / http://localhost:5280/ ProxyPassReverse / http://localhost:5280/
Header set Access-Control-Allow-Origin "*"
<Location /> <Location />
order deny,allow order deny,allow
deny from all deny from all

Loading…
Cancel
Save