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,15 +51,26 @@ server {
|
|||
proxy_connect_timeout {{ nginx_proxy_connect_timeout }};
|
||||
proxy_read_timeout {{ nginx_proxy_read_timeout }};
|
||||
proxy_send_timeout {{ nginx_proxy_send_timeout }};
|
||||
{% for instance in tomcat_m_instances %}
|
||||
{% for context in instance.app_contexts %}
|
||||
|
||||
{% 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 context in instance.app_contexts %}
|
||||
location /{{ context }} {
|
||||
proxy_pass http://localhost:{{ item.http_port }}/{{ context }};
|
||||
}
|
||||
{% endfor %}
|
||||
{% endfor %}
|
||||
{% endfor %}
|
||||
{% endfor %}
|
||||
location {{ 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