Skip to content

Commit

Permalink
Fix nginx rewrites
Browse files Browse the repository at this point in the history
  • Loading branch information
Natanael Rodriguez Ramos authored and Natanael Rodriguez Ramos committed Jun 3, 2024
1 parent 6b500ee commit be76eba
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ server {
}

# Error 404 page
#error_page 404 /404.html;
error_page 404 /404.html;
location = /404.html {
root /var/www/static;
internal;
Expand Down Expand Up @@ -256,8 +256,8 @@ server {
rewrite ^/knowledgebase/208/How-to-use-IVPN-on-KODI-media-player.html$ /knowledgebase/mp/how-to-use-ivpn-on-kodi-media-player/ permanent;
rewrite ^/knowledgebase/229/Is-IVPN-compatible-with-AppleTV.html$ /knowledgebase/mp/is-ivpn-compatible-with-appletv/ permanent;
rewrite ^/knowledgebase/248/How-do-I-connect-my-Nvidia-Shield-device.html$ /knowledgebase/mp/how-do-i-connect-my-nvidia-shield-device/ permanent;
rewrite ^/aboutus$ /en/team/ permanent;
rewrite ^/why-ivpn$ /en/team/ permanent;
rewrite ^/aboutus$ /team/ permanent;
rewrite ^/why-ivpn$ /team/ permanent;
rewrite ^/ddwrt$ /setup/router/ddwrt/ permanent;
rewrite ^/emails/ars-technica-wireguard$ https://arstechnica.com/gadgets/2018/12/testing-wireguard-with-an-early-adopter-vpn-service/ permanent;
rewrite ^/releases$ / permanent;
Expand All @@ -269,7 +269,7 @@ server {
rewrite ^/setup/linux-changelog.html$ /apps-linux/ permanent;
rewrite ^/setup/android-changelog.html$ /apps-android/ permanent;
rewrite ^/setup/mac-changelog.html$ /apps-macos/ permanent;
rewrite ^/facts$ /en/team/ permanent;
rewrite ^/facts$ /team/ permanent;
rewrite ^/press$ /contactus/ permanent;
rewrite ^/what-is-a-tunnel$ /what-is-a-vpn/ permanent;
rewrite ^/server-locations$ /status/ permanent;
Expand Down

0 comments on commit be76eba

Please sign in to comment.