Commit ed9bb0e2 authored by omega8cc's avatar omega8cc

Provide MOBILE_DEVICE value detected/set by Nginx as accessible for PHP-FPM/Drupal backend.

parent 56451d1f
......@@ -18,5 +18,6 @@ fastcgi_param REMOTE_PORT $remote_port;
fastcgi_param SERVER_ADDR $server_addr;
fastcgi_param SERVER_PORT $server_port;
fastcgi_param SERVER_NAME $server_name;
fastcgi_param USER_DEVICE $device;
fastcgi_param REDIRECT_STATUS 200;
fastcgi_index index.php;
......@@ -18,6 +18,7 @@ fastcgi_param REMOTE_PORT $remote_port;
fastcgi_param SERVER_ADDR $server_addr;
fastcgi_param SERVER_PORT $server_port;
fastcgi_param SERVER_NAME $server_name;
fastcgi_param USER_DEVICE $device;
fastcgi_param HTTPS on;
fastcgi_param REDIRECT_STATUS 200;
fastcgi_index index.php;
......
......@@ -22,6 +22,7 @@
fastcgi_param SERVER_ADDR $server_addr;
fastcgi_param SERVER_PORT $server_port;
fastcgi_param SERVER_NAME $server_name;
fastcgi_param USER_DEVICE $device;
fastcgi_param REDIRECT_STATUS 200;
fastcgi_index index.php;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment