Commit Graph

13 Commits

Author SHA1 Message Date
Andrea Dell'Amico dab8ed95a4 Fix a typo in the nginx cors snippet. 2018-03-13 11:32:35 +01:00
Andrea Dell'Amico 53ec9c29db Change the CORS settings again. 2018-03-12 17:48:00 +01:00
Andrea Dell'Amico 5874accb90 nginx cors: the methods can be customised now. See https://issue.openaire.research-infrastructures.eu/issues/3365 2018-03-11 14:34:22 +01:00
Andrea Dell'Amico 47581ba9ef nginx cors: accept more headers. 2017-10-30 15:41:31 +01:00
Tommaso Piccioli fcc48bc005 fix in nginx-cors.conf 2017-09-04 11:57:11 +02:00
Andrea Dell'Amico 6c0ebbe18e Revert the nginx_cors_limit_origin defaults. Now it's True. 2017-08-16 18:15:27 +02:00
Andrea Dell'Amico 19518b92b0 library/roles/nginx/templates/nginx-cors.conf.j2: Simplyfy the CORS configuration. 2017-08-16 15:16:03 +02:00
Andrea Dell'Amico 9d88f841a3 Change the CORS snippet again and introduce a new variable so that the smartgears nginx template is now backward compatible and still able to cope with the CORS settings needed by some geoserver. 2017-07-22 15:52:20 +02:00
Andrea Dell'Amico ee0c922ddf Fix a typo in the nginx CORS snippet. 2017-07-22 15:19:44 +02:00
Andrea Dell'Amico 9fe2c4463c Rework the CORS configuration again. Now we can limit the origin and maintain all the other settings. 2017-07-21 18:45:34 +02:00
Andrea Dell'Amico f1b600aefd Changed the CORS configuration to be more liberal when we do not want to restrict it to a list of domains. 2017-07-21 18:40:33 +02:00
Andrea Dell'Amico cffd1ce098 library/roles/nginx: Optionally limit CORS access. 2016-11-28 16:45:01 +01:00
Andrea Dell'Amico 64f8947dd5 library/roles/nginx: Add a snippet to enable CORS. 2016-11-28 16:41:56 +01:00