Nginx + GTPro
Sep 18, 2011 9:20 am by 1m5FDMR2D4al
Sep 18, 2011 9:20 am by 1m5FDMR2D4al
There is Nginx rewrite config for GTranslatePro
rewrite ^/([a-z][a-z])/(.*)$ /gtranslate/translate.php?lang=$1&url=$2 last;
rewrite ^/([a-z][a-z])$ /gtranslate/translate.php?lang=$1 last;
rewrite ^/(zh-CN)/(.*)$ /gtranslate/translate.php?lang=$1&url=$2 last;
rewrite ^/(zh-CN)$ /gtranslate/translate.php?lang=$1 last;
rewrite ^/(zh-TW)/(.*)$ /gtranslate/translate.php?lang=$1&url=$2 last;
rewrite ^/(zh-TW)$ /gtranslate/translate.php?lang=$1 last;
Originally there was a problem but it was solved with complete script reinstall.
Re: Nginx + GTPro
Sep 19, 2011 10:23 am by Edvard
Sep 19, 2011 10:23 am by Edvard
Thanks!
SIMILAR TOPICS
Nginx 502 Error | Jan 11, 2019 2:15 pm | Replies: 1 | Post by: mightyfineprint |
Nginx Settings - GTranslate Startup Package throws a 404 | Apr 13, 2016 8:01 pm | Replies: 18 | Post by: JMSDOnline |
Change from Apache to Nginx | Oct 5, 2015 9:26 pm | Replies: 1 | Post by: claesbas |
Nginx Not working with Pro Version | Dec 18, 2014 8:11 pm | Replies: 1 | Post by: DanGrom |
Error Nginx | Aug 26, 2014 6:51 pm | Replies: 7 | Post by: foedies |