Andrea Dell'Amico
913b5a57dd
Fixes to the smartgears new nginx virtualhost so that we can configure virtualhosts without smartgears.
2019-01-09 15:48:56 +01:00
Andrea Dell'Amico
f43c3a638c
New virtualhost template for the nginx instance that backs smartgears service. Much more flexible.
2019-01-03 15:32:43 +01:00
Andrea Dell'Amico
f7c965d545
Fix a typo
2019-01-03 15:31:41 +01:00
Andrea Dell'Amico
8206a3c53b
Fix a typo
2018-12-27 18:01:08 +01:00
Andrea Dell'Amico
1dee266626
library/roles/smartgears/smartgears-nginx-frontend/templates/generic-smartgears-virtualhost.j2: Fix the indentation of the conditionals.
2018-12-11 15:05:44 +01:00
Andrea Dell'Amico
73fdaee1d9
support the case for smartgears_special_redirect
2018-10-25 12:37:17 +02:00
Andrea Dell'Amico
6dd638ffee
Handle the smartgears_special_redirect case.
2018-10-25 12:35:34 +02:00
Andrea Dell'Amico
6fed3715e1
Fix the nginx template for the uri-resolver. See https://support.d4science.org/issues/12768
2018-10-24 19:23:39 +02:00
Andrea Dell'Amico
f20092e6ae
library/roles/smartgears/smartgears-nginx-frontend/templates/generic-smartgears-virtualhost.j2: Fix the uri-resolver configuration.
2018-10-23 14:58:17 +02:00
Andrea Dell'Amico
5a9fb9328a
Add a conditional section for the uri-resolver.
2018-10-18 18:05:17 +02:00
Andrea Dell'Amico
3ccfd6424a
Give the gcube user the possibility to write into the nginx root directory.
2018-05-02 12:00:57 +02:00
Andrea Dell'Amico
c05dd230c2
nginx template: proxy the tomcat manager when requested. See https://support.d4science.org/issues/10597
2017-12-06 18:24:11 +01:00
Andrea Dell'Amico
4b798d98e1
generic-smartgears-virtualhost: Fix a wrong if statement.
2017-11-23 12:50:33 +01:00
Andrea Dell'Amico
40ee8a6fc7
Add a special case for varnish in the smartgears nginx template. See https://support.d4science.org/issues/10147
2017-11-22 18:21:58 +01:00
Andrea Dell'Amico
3254530eab
generic-smartgears-virtualhost: fix the server_name directive.
2017-09-24 13:58:34 +02:00
Andrea Dell'Amico
72c260b3b4
nginx virtualhost for smartgears: set the nginx client temporary directory for the uploads if it's defined.
2017-09-22 13:10:24 +02:00
Andrea Dell'Amico
d7a12eb375
Change the nginx smartgears template to add opencpu as a special case.
2017-09-19 15:13:57 +02:00
Andrea Dell'Amico
ea49eb993a
Move the data_transfer variables from the nginx role to the main smartgears one.
2017-09-14 17:23:17 +02:00
Andrea Dell'Amico
7ea507790f
Change the default listen host for tomcat to 127.0.0.1.
...
Change the virtualhost filename to a fixed one plus a numeric ID. So if the hostname changes, we do not duplicate files.
2017-09-12 15:35:27 +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
db61e24d4e
Change the smartgears nginx virtualhost to be compatible with the new CORS configuration.
2017-07-22 15:12:47 +02:00
Andrea Dell'Amico
032f49040a
Do not enable CORS on the data-transfer.
2017-07-21 18:47:38 +02:00
Andrea Dell'Amico
68ad035c61
library/roles/smartgears/smartgears-nginx-frontend/templates/generic-smartgears-virtualhost.j2: Fix a typo.
2017-07-20 15:04:55 +02:00
Andrea Dell'Amico
2c859a7f49
brary/roles/smartgears/smartgears-nginx-frontend: Optionally expose the gcube logs via http.
...
d4science-ghn-cluster: Expose the gcube logs on the dataminer servers.
2017-07-20 13:50:38 +02:00
Andrea Dell'Amico
1fc1d05687
library/roles/smartgears/smartgears-nginx-frontend: Fix the nginx template so that whn-manager is always added. See https://support.d4science.org/issues/9209
2017-07-07 13:42:33 +02:00
Andrea Dell'Amico
934ba8d8ef
library/roles/smartgears/smartgears-nginx-frontend/templates/generic-smartgears-virtualhost.j2: expose whn-manager over http even if we redirect the main apps over https.
2017-07-04 18:17:13 +02:00
Andrea Dell'Amico
b5086d02c9
d4science-ghn-cluster: The geoserver spatial servers now use the datatransfer that comes with the smartgears distribution.
...
library/roles/smartgears/data-transfer-service: Not needed anymore.
library/roles/smartgears/smartgears-nginx-frontend/templates/generic-smartgears-virtualhost.j2: Enable the data-transfer-service reverse proxy when requested.
2017-03-16 16:34:43 +01:00
Andrea Dell'Amico
daa0a3af35
library/roles/smartgears/smartgears-nginx-frontend/templates/generic-smartgears-virtualhost.j2: client_max_body_size is now configurable.
2016-11-29 09:42:06 +01:00
Andrea Dell'Amico
00b6c78bb6
library/roles/smartgears/smartgears-nginx-frontend: Add the CORS snippet when enabled.
2016-11-28 16:41:56 +01:00
Andrea Dell'Amico
df49cb8049
library/roles/smartgears/smartgears-nginx-frontend: Some smartgears nodes have aliases. Handle them in the virtualhost configuration.
2016-11-23 12:28:05 +01:00
Andrea Dell'Amico
66cf85267d
library/roles/smartgears/smartgears-nginx-frontend/templates/generic-smartgears-virtualhost.j2: Do not set 'servername' on the EGI images. The hostname is usually wrong.
2016-11-18 10:54:40 +01:00
Andrea Dell'Amico
54a50c9307
d4science-ghn-cluster: New production geonetwork server.
...
library/roles/smartgears/smartgears-nginx-frontend/templates/generic-smartgears-virtualhost.j2: Fix the virtualhost so that it works when some of the optional variables are undefined.
2016-10-26 20:08:28 +02:00
Andrea Dell'Amico
b0e799ad17
library/roles/smartgears/smartgears-nginx-frontend: Add websockets support to the virtualhost. Remove the rstudio virtualhost templates.
2016-10-08 12:28:08 +02:00
Andrea Dell'Amico
6a1ae88190
d4science-ghn-cluster/group_vars/tagme/tagme.yml: Use the generic nginx virtualhost.
...
library/roles/smartgears/smartgears-nginx-frontend/templates/tagme.d4science.org-virtualhost.j2: Remove the tagme nginx virtualhost. Not needed anymore.
2016-10-04 11:15:25 +02:00
Andrea Dell'Amico
0c3f0c7c12
library/roles/smartgears/smartgears-nginx-frontend/templates/*dataminer*: not used anymore.
2016-10-04 11:02:07 +02:00
Andrea Dell'Amico
f4d3393235
library/roles/smartgears/smartgears-nginx-frontend/templates/generic-smartgears-virtualhost.j2: Manage the real_ip scenario when we are behind haproxy.
2016-10-03 18:35:07 +02:00
Andrea Dell'Amico
61a0f90bb4
library/roles/smartgears/smartgears-nginx-frontend/templates/generic-smartgears-virtualhost.j2: new virtualhost that supports https with or without redirection from http.
2016-10-03 18:28:15 +02:00
Andrea Dell'Amico
2f8f9e1d26
library/roles/smartgears/resource_registry: Fix the repository URL.
...
library/roles/smartgears/smartgears-nginx-frontend/templates/generic-smartgears-virtualhost.j2: Fix a missing {% endif %}.
2016-09-20 12:20:20 +02:00
Andrea Dell'Amico
f6e623dfae
library/roles/smartgears/smartgears-nginx-frontend/templates/generic-smartgears-virtualhost.j2: Support dataminer and https via letsencrypt. All optional.
2016-09-19 19:29:58 +02:00
Andrea Dell'Amico
cdb6d524e0
.
2016-09-09 13:34:56 +02:00
Andrea Dell'Amico
df3d8ab340
library/roles/smartgears/smartgears-nginx-frontend/templates/dataminer1-d-d4s.d4science.org-virtualhost.j2: virtualhost for the new dataminer.
2016-09-09 13:34:06 +02:00
Roberto Cirillo
6ac76b3f86
group_vars/dataminer/dataminer.yml add repository variables
2016-07-22 15:37:34 +02:00
Andrea Dell'Amico
76237a9b6b
library/roles/smartgears/r_connector: Fix the script that initializes/creates uses.
...
library/roles/smartgears/smartgears-nginx-frontend/templates/rstudio-dev.d4science.org-virtualhost.j2: Add a piece of configuration that was only on the production server.
2016-07-21 19:29:32 +02:00
Andrea Dell'Amico
bd1808560c
library/roles/smartgears/r_connector: Role that installs the smartgears r-connector.
...
library/roles/smartgears/smartgears-nginx-frontend/templates: nginx virtualhosts for the rstudio servers.
2016-07-21 14:58:46 +02:00
Andrea Dell'Amico
d9c513dede
library/roles/smartgears: add the virtualhost for the new dataminer.
2016-07-03 12:39:44 +02:00
Andrea Dell'Amico
e2464cb85a
d4science-ghn-cluster: split the dataminer dev group between devsec and devnext. Add a new devNext scoped dataminer.
2016-06-25 15:25:50 +02:00
Andrea Dell'Amico
24e5f76098
library/roles/ghn-gcore, library/roles/smartgears: Move the ghn and smartgears roles from d4science-ghn-cluster to the shared library
2016-06-13 16:24:30 +02:00