Answer the question
In order to leave comments, you need to log in
How to solve the problem with downloading Android Chrome files from Nginx acting as a proxy?
Redmine is installed, some files are stored in it, some files are periodically downloaded from it. On all browsers except Chrome under android and its own chrome rocking chair - everything is fine.
The chrome rocker shows a running strip, and then flies out on a timeout.
Initially, redmine was running under thin, and before that, nginx stood as a balancer.
Then I tried to run it just under webrick - the glitch disappeared, but the production version was unusable.
I tried passenger by building (passenger-install-nginx-module) a separate nginx with a built-in module. Hung up on other port. There is no glitch, but the option is not suitable, since I would like to use nginx from the repository as the main one.
Configured basically nginx proxy_pass on nginx with passenger:
server {
listen 443 ssl;
server_name my.server.name;
access_log /var/log/nginx/redmine.access.log;
error_log /var/log/nginx/redmine.error.log;
ssl on;
ssl_certificate /etc/ssl/certs/my.server.name.crt;
ssl_certificate_key /etc/ssl/certs/my.server.name.key;
ssl_session_cache shared:SSL:10m;
ssl_session_timeout 10m;
client_max_body_size 1000M;
location / {
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Server $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_pass http://127.0.0.1:9800;
}
}
Answer the question
In order to leave comments, you need to log in
Try to look at the transmitted traffic by the fiddler. If the glitch remains - that it is possible to compare the going packets. If it disappears, then at least look for anomalies in the server responses.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question