You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be helpful to have a standard one-line include we could drop in a location block to use this detection to either a) redirect to '/mobile/' or b) redirect to a very simple but well-formatted HTML page we include in the base image that indicates mobile is not supported. These could be two includes e.g. redirectToMobile and renderMobileNotSupported.
The text was updated successfully, but these errors were encountered:
amcclain
changed the title
nginx - detect mobile browsers / standard redirect to mobile app if supported
nginx - detect mobile browsers / redirect to mobile app if supported
Dec 14, 2018
amcclain
changed the title
nginx - detect mobile browsers / redirect to mobile app if supported
nginx - dD
Sep 13, 2019
amcclain
changed the title
nginx - dD
Detect mobile browsers / standard redirect to mobile app if supported
Sep 13, 2019
amcclain
changed the title
Detect mobile browsers / standard redirect to mobile app if supported
Standard redirect includes for mobile browsers
Mar 3, 2020
We have a basic
$is_mobile
variable set in our xh.conf:xh-nginx/xh.conf
Line 36 in e86974e
It would be helpful to have a standard one-line include we could drop in a location block to use this detection to either a) redirect to '/mobile/' or b) redirect to a very simple but well-formatted HTML page we include in the base image that indicates mobile is not supported. These could be two includes e.g.
redirectToMobile
andrenderMobileNotSupported
.The text was updated successfully, but these errors were encountered: