Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add associate site conditional to docker flavor proxy #297

Open
mpackard opened this issue Oct 9, 2023 · 0 comments
Open

add associate site conditional to docker flavor proxy #297

mpackard opened this issue Oct 9, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@mpackard
Copy link
Collaborator

mpackard commented Oct 9, 2023

{% if "tenants" in proxy_nginx_service_list %}
auth_request /_auth;
error_page 500 /token-revoked.json;
proxy_pass http://tenants-api:5000;
{% else %}
proxy_pass {{proxy_primary_site_admin_tenant_base_url}};
{% endif %}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant