Skip to content

Instantly share code, notes, and snippets.

View diyfr's full-sized avatar

Stéphane diyfr

  • Nantes, FR
View GitHub Profile
@diyfr
diyfr / cors.conf
Created May 23, 2017 09:13
Apache Proxy CORS configuration for fcm.googleapis.com
<VirtualHost *:80>
ServerName domain.com # configure your domain
ServerAdmin webmaster@localhost
DocumentRoot /var/www/html
#Don't miss to enable mod_header and mod_proxy
#replace fcm.googleapis.com in fcm endpoint registration
ProxyRequests Off
<Location /fcm/>