Skip to content

Commit

Permalink
Merge pull request #681 from 1024pix/tech/fix-redirect-support-slug
Browse files Browse the repository at this point in the history
[TECH] : Fix redirection with slug
  • Loading branch information
alipix authored Jun 21, 2024
2 parents 0937a18 + 14fa1c6 commit 5931269
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pix-site/servers.conf.erb
Original file line number Diff line number Diff line change
Expand Up @@ -81,14 +81,14 @@ server {

location /fr {
rewrite ^/fr$ https://pix.fr/support permanent;
rewrite ^/fr/(.*)$ https://pix.fr/support/$1 permanent;
rewrite ^/fr/(.*)$ https://pix.fr/support permanent;
}
location / {
rewrite ^/$ https://pix.fr/support permanent;
rewrite ^/(.*)$ https://pix.fr/support permanent;
}
location /en {
rewrite ^/en$ https://pix.org/en/support permanent;
rewrite ^/en/(.*)$ https://pix.org/en/support/$1 permanent;
rewrite ^/en/(.*)$ https://pix.org/en/support permanent;
}
}

0 comments on commit 5931269

Please sign in to comment.