proxy_pass:
- { path: /, url: 'http://192.168.170.135:47080/' }
rewrites:
- dk:
+ - dk:
rewrite_cond:
- '%{HTTP_HOST} ^(www\.)?truckworks\.dk$'
rewrite_rule:
- '^(.*)$ http://www.truckworks.de/da [R,L]'
- fr:
+ - fr:
rewrite_cond:
- '%{HTTP_HOST} ^(www\.)?truckworks\.fr$'
rewrite_rule:
- '^(.*)$ http://www.truckworks.de/fr [R,L]'
- com:
+ - com:
rewrite_cond:
- '%{HTTP_HOST} ^(www\.)?truckworks\.com$'
rewrite_rule:
- '^(.*)$ http://www.truckworks.de/en [R,L]'
- es:
+ - es:
rewrite_cond:
- '%{HTTP_HOST} ^(www\.)?truckworks\.es$'
rewrite_rule:
- '^(.*)$ http://www.truckworks.de/es [R,L]'
- it:
+ - it:
rewrite_cond:
- '%{HTTP_HOST} ^(www\.)?truckworks\.it$'
rewrite_rule:
- '^(.*)$ http://www.truckworks.de/it [R,L]'
- pl:
+ - pl:
rewrite_cond:
- '%{HTTP_HOST} ^(www\.)?truckworks\.pl$'
rewrite_rule:
- '^(.*)$ http://www.truckworks.de/pl [R,L]'
- ru:
+ - ru:
rewrite_cond:
- '%{HTTP_HOST} ^(www\.)?truckworks\.ru$'
rewrite_rule:
- '^(.*)$ http://www.truckworks.de/ru [R,L]'
- be:
+ - be:
rewrite_cond:
- '%{HTTP_HOST} ^(www\.)?truckworks\.be$'
rewrite_rule:
- '^(.*)$ http://www.truckworks.de/en [R,L]'
- ch:
+ - ch:
rewrite_cond:
- '%{HTTP_HOST} ^(www\.)?truckworks\.ch$'
rewrite_rule:
- '^(.*)$ http://www.truckworks.de/en [R,L]'
- uk:
+ - uk:
rewrite_cond:
- '%{HTTP_HOST} ^(www\.)?truckworks\.co\.uk$'
rewrite_rule:
- '^(.*)$ http://www.truckworks.de/en [R,L]'
- eu:
+ - eu:
rewrite_cond:
- '%{HTTP_HOST} ^(www\.)?truckworks\.eu$'
rewrite_rule:
- '^(.*)$ http://www.truckworks.de/en [R,L]'
- nl:
+ - nl:
rewrite_cond:
- '%{HTTP_HOST} ^(www\.)?truckworks\.nl$'
rewrite_rule: