Skip to content

Commit

Permalink
Remove NAU Richie site custom redirect
Browse files Browse the repository at this point in the history
  • Loading branch information
igobranco committed Apr 21, 2023
1 parent 6bb3eaa commit bf68ca8
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions roles/richie_docker_deploy/templates/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -202,16 +202,6 @@ http {
{% endfor %}
{% endif %}

# Temporary fix with a temporary redirect to fix redirect to search page that lost query
# parameters. Remove this when we have a fix for:
# https://github.com/openfun/richie/issues/1810
location = /pt/curso/ {
return 307 /pt/cursos/$is_args$args;
}
location = /en/course/ {
return 307 /en/courses/$is_args$args;
}

# Any other URL, should be proxied
location / {
{% if richie_sites[site].nginx_basic_authentication_enable is defined and richie_sites[site].nginx_basic_authentication_enable %}
Expand Down

0 comments on commit bf68ca8

Please sign in to comment.