Commit Graph

73 Commits

Author SHA1 Message Date
Andrea Dell'Amico 572c94edf4 library/roles/nginx/templates/nginx-virthost.j2: Work around a problem with the websockets attivation. 2018-12-10 17:02:04 +01:00
Andrea Dell'Amico 466a17f352 library/roles/nginx/templates/nginx-virthost.j2: Fix the websockets configuration. 2018-11-30 20:30:26 +01:00
Andrea Dell'Amico 80d749b7cf library/roles/nginx/templates/nginx-virthost.j2: Support websockets inside a 'server' definition but also outside a 'location' one. 2018-11-30 20:10:00 +01:00
Andrea Dell'Amico 8d441d1cb3 library/roles/nginx/defaults/main.yml: add the "Observe" header to the CORS allowed ones. 2018-10-12 10:56:54 +02:00
Andrea Dell'Amico 13d8864f80 library/roles/nginx/templates/nginx-server-ssl.conf.j2: Fix the syntax of a comparison. 2018-09-07 18:16:45 +02:00
Andrea Dell'Amico 71b64563a7 library/roles/nginx/defaults/main.yml: Compatibility fix for the apt module. 2018-09-07 16:48:10 +02:00
Andrea Dell'Amico bd69071947 Refactor: include: ==> import_tasks: 2018-08-09 17:48:03 +02:00
Andrea Dell'Amico da08066eb5 Fix a duplicate entry. 2018-07-05 16:23:15 +02:00
Andrea Dell'Amico 92622b285e Add support for ACLs 2018-07-03 17:03:10 +02:00
Andrea Dell'Amico 66f2565c51 Fix a typo into the nginx default template. 2018-05-16 18:27:27 +02:00
Andrea Dell'Amico b0d65d4a17 nginx-virthost: Fix a problem with the websockets configuration. 2018-04-23 17:48:57 +02:00
Andrea Dell'Amico e558b25cda Reload nginx when the conf snippets change. 2018-03-13 12:14:27 +01:00
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 f8cbd7ad17 library/roles/nginx: Give the possibility to manage CORS inside the default virtualhost. 2018-02-27 14:17:11 +01:00
Andrea Dell'Amico 088978eafd library/roles/nginx/tasks/nginx.yml: Be ready for ubuntu 16.04. 2018-02-16 18:06:11 +01:00
Andrea Dell'Amico 732fa3f959 nginx: fix the virtualhost variables example. 2018-01-10 17:45:21 +01:00
Andrea Dell'Amico 4f758e5d21 library/roles/nginx/templates/nginx-proxy-params.conf.j2: Add a new parameter to work better when keepalive is active. 2017-12-15 19:11:44 +01:00
Andrea Dell'Amico a40456ea1c nginx template: give the possibility to add proxy redirections without including the global proxy configurations. 2017-11-23 17:48:56 +01:00
Andrea Dell'Amico 174b54c9f9 nginx: return 404 when someone tries to access files or directories that start with a . 2017-11-15 01:05:07 +01:00
Andrea Dell'Amico 5556c1318d nginx: fix the creation of the webroot directory. 2017-11-07 12:37:14 +01:00
Andrea Dell'Amico 14f4fc2c08 nginx: create the document root if different from the default. Deny access to the filenames that start with a . 2017-11-07 00:09:01 +01:00
Andrea Dell'Amico 47581ba9ef nginx cors: accept more headers. 2017-10-30 15:41:31 +01:00
Andrea Dell'Amico 6dfaef66d0 nginx: create the directory defined by the variable nginx_client_body_temp_dir, when the variable has been defined. 2017-09-15 12:57:05 +02:00
Tommaso Piccioli fcc48bc005 fix in nginx-cors.conf 2017-09-04 11:57:11 +02:00
Andrea Dell'Amico 0e9276fe23 Fix a typo. 2017-09-01 19:03:56 +02:00
Andrea Dell'Amico 4f2b013b6f nginx: be ready for a stronger ssl configuration. 2017-08-18 15:47:17 +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 cd7baca5d8 library/roles/nginx: handle the certificates paths when not using letsencrypt without duplicating files.
d4science-ghn-cluster: cleanup the couchbase web console configuration.
2017-07-03 14:59:38 +02:00
Tommaso Piccioli 2ab3561c55 ssl proxy on couchbase console 2017-06-30 17:29:08 +02:00
Andrea Dell'Amico 6521d90712 library/roles/nginx: Fixes to the generic virtualhost and to the proxy configuration so that all works with nginx installed from the PPA. 2017-03-16 11:42:07 +01:00
Andrea Dell'Amico cf33f2a586 library/roles/nginx: Add tasks that configure the basic authentication. Fix the generic virtualhost template. 2017-02-01 17:12:54 +01:00
Andrea Dell'Amico 0576a0edc5 library/roles/nginx/defaults/main.yml: Decrease the client_max_body_size default. 2016-11-29 09:41:44 +01: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
Andrea Dell'Amico 22a64b8965 library/roles/nginx: Permit the customization of the large_client_header_buffers settings. 2016-11-18 11:08:14 +01:00
Andrea Dell'Amico 5c8b31c52a library/roles/nginx/tasks/nginx-virtualhosts.yml: Fix a problem with a new variable that's undefined by default. 2016-11-10 10:26:49 +01:00
Andrea Dell'Amico 6b6fb1c24f library/roles/nginx: More changes to the unified virtualhost template. 2016-11-09 14:28:17 +01:00
Andrea Dell'Amico 731c27cc5b library/roles/nginx/templates/nginx-proxy-params.conf.j2: Some proxy statements must be conditional to the presence of an haproxy load balancer. 2016-10-14 17:24:20 +02:00
Andrea Dell'Amico 667be909a0 library/roles/nginx/tasks/nginx.yml: cache_update only if needed. 2016-10-05 13:19:03 +02:00
Andrea Dell'Amico b4239da6ae library/roles/nginx/templates/nginx-server-ssl.conf.j2: Fix the behaviour when letsencrypt is not installed. 2016-10-03 18:44:18 +02:00
Andrea Dell'Amico b32959ce2c library/roles/nginx: Remove some old installed snipped that can conflict with the new ones. 2016-10-03 18:27:39 +02:00
Andrea Dell'Amico 4a54b1d96f library/roles/nginx/templates: Rename the ssl snippet. 2016-10-03 17:44:44 +02:00
Andrea Dell'Amico 45f5fa6839 library/roles/nginx: Add a ssl snippet. 2016-10-03 16:48:23 +02:00