I am running Apache with mod_proxy_ajp module. Apache is successfully reverse proxying requests to tomcat. The configuration is specified in the file /etc/httpd/conf.d/proxy_ajp.conf
ProxyPass /ajp-web-services ajp://ipaddress:8009/tomcat-web-services
Is it possible to configure mod_proxy_ajp module to set the header Access-Control-Allow-Origin to "*"? If so, how would you update proxy_ajp.conf to set a header?
Thanks,
Nathan
Turns out this is super easy. The configuration does not occur in proxy_ajp.conf.
Add the following to /etc/httpd/conf/httpd.conf