"Hello, Francis Daly asked you several times to check the access.log file (you should not find the fragment part in there). oscaretu and I told you browsers don't send the fragment part of an URL. The problem isn't from nginx nor the browser: it's a normal behavior. Best Regards" In deed there was no information in access.log, the only information i published was from error.by ramsoft75 - Nginx Mailing List - English
Hi there all and thank's for the help Dear oscaretu, the curl was tested with " doesn't help, because ! is a special character it needs a escaope after "\", so the correct curl command for the terminal is : $ curl -A iPad -i http://www.domain.com/#\!/pt/--item-view/en/3190/Wok Dear Francis Daly For the initial configuration : if ($http_user_agent ~* '(iPhone|iPod|iPadby ramsoft75 - Nginx Mailing List - English
Hi I think the part where de parameters are clean is : 2015/07/06 15:32:21 6500#0: *9 http script copy: "http://m.domain.com/" 2015/07/06 15:32:21 6500#0: *9 http script capture: "" 2015/07/06 15:32:21 6500#0: *9 http script regex end 2015/07/06 15:32:21 6500#0: *9 rewritten redirect: "http://m.domain.com/", client: xxx.xxx.xxx.xxx, server: www.domain.comby ramsoft75 - Nginx Mailing List - English
The "^/$" came from : #to detect if the device with www entered in domain is mobile if ($http_user_agent ~* '(iPhone|iPod|iPad|Android|BlackBerry|webOS|Windows Phone)') { rewrite ^/$ http://m.domain.com$request_uri; }by ramsoft75 - Nginx Mailing List - English
I 'am running Nginx with logging in debug mode and the report for "^/$" is : 2015/07/06 15:32:21 6500#0: *9 accept: 193.137.170.139 fd:20 2015/07/06 15:32:21 6500#0: *9 event timer add: 20: 60000:1436196801837 2015/07/06 15:32:21 6500#0: *9 reusable connection: 1 2015/07/06 15:32:21 6500#0: *9 epoll add event: fd:20 op:1 ev:80000001 2015/07/06 15:32:21 6500#0: accept() not reby ramsoft75 - Nginx Mailing List - English
I entered in a url an url similar to the tested before : http://www.domain.com/#\!/pt/--item-view/en/3190/Wok-Vintage And the Nginx didn't recorded the access in the nginx access.log fileby ramsoft75 - Nginx Mailing List - English
Hi I tested in a iPad and Safari the request and the nginx log reported a 401 error : xxx.xxx.xxx.xxx - - [06/Jul/2015:13:42:24 +0000] "GET /pt/api_cp/user_counts/ HTTP/1.1" 401 27 "http://m.domain.com/" "Mozilla/5.0 (iPad; CPU OS 8_3 like Mac OS X) AppleWebKit/600.1.4 (KHTML, like Gecko) Version/8.0 Mobile/12F69 Safari/600.1.4" But this i think is not an errby ramsoft75 - Nginx Mailing List - English
Good day There was a problem in testing in the terminal with the character "!", it should be with "\" after, like this : $ curl -A iPad -i http://www.domain.com/#\!/pt/--item-view/en/3190/Wok-Vintage And the result was : HTTP/1.1 301 Moved Permanently Server: nginx Date: Mon, 06 Jul 2015 08:50:10 GMT Content-Type: text/html Content-Length: 178 Connection: keep-by ramsoft75 - Nginx Mailing List - English
Hi there I changed to #to detect if the device with www entered in domain is mobile if ($http_user_agent ~* '(iPhone|iPod|iPad|Android|BlackBerry|webOS|Windows Phone)') { rewrite ^ http://m.domain.com$request_uri; } I executed the command : $ curl -A iPad -i https://www.domain.com/#!/pt/--item-view/pt/32081/Mix-J And the result was : -bash: !/pt/--item-view/pt/32081/Mix-J: evby ramsoft75 - Nginx Mailing List - English
Hi there thanks for the help there was an erro not "-bash: !/pt/--item/pt/32516/Farinha : event not found" but " -bash: "#!/pt/--item/pt/32516/Farinha : event not foundby ramsoft75 - Nginx Mailing List - English
Hi there thanks for the help i run the following : curl -A iPad -i http://www.domain.com/#!/pt/--item/pt/32516/Farinha and the result was : -bash: !/pt/--item/pt/32516/Farinha : event not found But this page exist's and is running in desktop in a pcby ramsoft75 - Nginx Mailing List - English
The problem is, the site is entered with www in url in a mobile device with parameters in the url, it is redirected from www.domain.com to m.domain.com but the parameters entered with www.domain.com/parameters when redirected to m.domain.com doesn't receive the parameters from thr url origin in www. In conclusion www.domain.com/parameters should redirect to m.domain.com/parameters but is redireby ramsoft75 - Nginx Mailing List - English
I made a ping into www.domain.com and into domain.com, the Ip's are not the same.by ramsoft75 - Nginx Mailing List - English
Isn't this ? > server { > listen 443 ssl spdy; > > server_name domain.com; > > ... > } With that configuration if a go https://domains.com it gives me a error "webpage not avaiable"by ramsoft75 - Nginx Mailing List - English
The problem is https://domain.com is not accessibleby ramsoft75 - Nginx Mailing List - English
I have a domain.com and i can redirecto to other subdomains but not domain.com in https, my configuration is the following : server { listen 80; server_name www.domain.com; rewrite ^/(.*) https://www.domain.com/$1 permanent; } server { listen 80; server_name m.domain.com; ## redirect http to https ## rewrite ^/(.*) https://m.domain.com/$1 permaneby ramsoft75 - Nginx Mailing List - English
Hello i am Alex, two years working in every day with nginx.by ramsoft75 - New Member Introductions