Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Custom Header fro mobile detect #17

Open
miya0001 opened this issue Nov 5, 2013 · 1 comment
Open

Add Custom Header fro mobile detect #17

miya0001 opened this issue Nov 5, 2013 · 1 comment

Comments

@miya0001
Copy link

miya0001 commented Nov 5, 2013

diff --git a/templates/default/nginx/nginx.conf.erb b/templates/default/nginx/nginx.conf.erb
index f4e31af..7e77b62 100644
--- a/templates/default/nginx/nginx.conf.erb
+++ b/templates/default/nginx/nginx.conf.erb
@@ -66,6 +66,7 @@ http {
     proxy_set_header  X-Forwarded-Server $host;
     proxy_set_header  X-Forwarded-For    $proxy_add_x_forwarded_for;
     proxy_set_header  Accept-Encoding    "";
+    proxy_set_header  X-UA-Detect        $mobile;
     proxy_hide_header X-Pingback;
     proxy_hide_header Link;
     proxy_hide_header ETag;
@wokamoto
Copy link
Member

対応済みです

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants