Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.

Commit 9f3193a

Browse files
suthesankSuthesan
andauthored
suthesh/redirect-en-routes (#2695)
* remove en from routes * modify rule Co-authored-by: Suthesan <[email protected]>
1 parent 6afeaa9 commit 9f3193a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

deriv.com.conf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,8 @@ server {
7272
location ~* "^/([\w]{2}|zh-tw|zh-cn)/careers" {
7373
return 301 https://$http_host/careers/;
7474
}
75+
76+
rewrite ^/en/(.*)$ https://$http_host/$1 permanent;
7577

7678
location ~* \.(html)$ {
7779
add_header Cache-Control "public, max-age=0, must-revalidate";

0 commit comments

Comments
 (0)