forked from ISTI-ansible-roles/ansible-roles
library/roles/smartgears/smartgears-nginx-frontend/templates/dataminer1-d-d4s.d4science.org-virtualhost.j2: virtualhost for the new dataminer.
This commit is contained in:
parent
18bbc85a22
commit
df3d8ab340
|
@ -51,6 +51,13 @@ server {
|
||||||
proxy_connect_timeout {{ nginx_proxy_connect_timeout }};
|
proxy_connect_timeout {{ nginx_proxy_connect_timeout }};
|
||||||
proxy_read_timeout {{ nginx_proxy_read_timeout }};
|
proxy_read_timeout {{ nginx_proxy_read_timeout }};
|
||||||
proxy_send_timeout {{ nginx_proxy_send_timeout }};
|
proxy_send_timeout {{ nginx_proxy_send_timeout }};
|
||||||
|
|
||||||
|
{% if r_connector_install %}
|
||||||
|
location /auth-sign-in {
|
||||||
|
rewrite ^/auth-sign-in http://{{ item.servername }}/r-connector/gcube/service/disconnect;
|
||||||
|
}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
{% for instance in tomcat_m_instances %}
|
{% for instance in tomcat_m_instances %}
|
||||||
{% for context in instance.app_contexts %}
|
{% for context in instance.app_contexts %}
|
||||||
location /{{ context }} {
|
location /{{ context }} {
|
||||||
|
@ -61,5 +68,9 @@ server {
|
||||||
location {{ dataminer_52north_webapp_context }} {
|
location {{ dataminer_52north_webapp_context }} {
|
||||||
proxy_pass http://localhost:{{ item.http_port }}{{ dataminer_52north_webapp_context }};
|
proxy_pass http://localhost:{{ item.http_port }}{{ dataminer_52north_webapp_context }};
|
||||||
}
|
}
|
||||||
|
{% if rstudio_install_server %}
|
||||||
|
location / {
|
||||||
|
proxy_pass http://localhost:8787/;
|
||||||
|
}
|
||||||
|
{% endif %}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue