This plugin allows you to switch theme according to User Agent on the Nginx reverse proxy..
Allow you to switch theme according to the user-agent..
Add detection to the nginx conf. set $mobile if ) { set $mobile @smartphone }.
Send custom request header to X-UA-Detect $mobile.
Nginx Mobile Theme will switch theme when smartphone is received in the $ SERVER..
Please access to the in WordPress admin area..
Add custom detection to the nginx conf..
Add custom detection to WordPress via nginxmobile mobile detects filter-hook.. nginx conf set $mobile. if ) { set $mobile @smartphone. } if { set $mobile @tablet. }.
The Amimoto is WordPress AMI on AWS EC2..
Add line to etc nginx nginx conf like following.. before X-Forwarded-For $proxy add x forwarded for Accept-Encoding.. after X-Forwarded-For $proxy add x forwarded for Accept-Encoding.. X-UA-Detect $mobile # add new line.
Read more