tapis-project / tapis-deployer

3 stars 4 forks source link

Fixes for PGRest and Meta special routing #139

Closed joestubbs closed 1 year ago

joestubbs commented 1 year ago
  1. Fix the ordering of the proxy__customblock to show up inside the proxy_service_list IF block; {% if "meta" in proxy_nginx_service_list %} auth_request /_auth; error_page 500 /token-revoked.json; {% if proxy_meta_custom_block is defined %} {{ proxy_meta_custom_block | indent(width=12) }} {% endif %} proxy_pass http://restheart-security:8080; {% else %} proxy_pass {{proxy_primary_site_admin_tenant_base_url}}; {% endif %}

  2. Fix the values of the proxy_*_custom_block variables in tacc-tapis-deployments to not have the $upstream

joestubbs commented 1 year ago

https://stackoverflow.com/questions/32845674/setup-nginx-not-to-crash-if-host-in-upstream-is-not-found