Skip to content

Commit

Permalink
Redirect to the default URL if the root is accessed
Browse files Browse the repository at this point in the history
  • Loading branch information
peresypkin committed Mar 22, 2024
1 parent 478b8cd commit 65db564
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@
{% include "nginx/vhost.d/merchant-portal.default.conf.twig" with _context %}
{% include "nginx/vhost.d/timeouts.conf.twig" with { timeout: timeout | default('1m') } %}
{% endblock server %}
{% block locations %}
{{ parent() }}
location = / {
return 301 /dashboard-merchant-portal-gui/dashboard;
}
{% endblock locations %}
{% block location %}
{{ parent() }}

Expand Down

0 comments on commit 65db564

Please sign in to comment.