Skip to content

Commit

Permalink
Merge pull request #349 from vrk-kpa/AV-416_fix_ckan_locale_root_redi…
Browse files Browse the repository at this point in the history
…rect

AV-416: Redirect /data/en_GB/ to drupal root
  • Loading branch information
Zharktas committed Jan 9, 2019
2 parents 784210e + 41dd139 commit b58ebec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ansible/roles/nginx/templates/server.config.j2
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ rewrite ^/dataset/(.*)$ /data/dataset/$1 permanent;
# Disable CKAN main page. Redirect to Drupal main page.
rewrite ^/data/?$ /{{ item.root_redirect }} permanent;

rewrite ^/data/(fi|en|sv)/?$ /$1 permanent;
rewrite ^/data/(fi|en|en_GB|sv)/?$ /$1 permanent;

location = /favicon.ico {
log_not_found off;
Expand Down

0 comments on commit b58ebec

Please sign in to comment.