How to configure the nginx->nginx->passenger (redmine) for the correct return location parameter?


1. ReverseProxy (nginx) — fronthost (address
2. Nginx + Passenger (redmine 3.4.2) - internalhost (address

1. Authorized users at the exit (transition to: obtained from the Passenger a HTTP 302 with the Location parameter: in the response headers
2. After submitа form on the page (POST method) in the header of the response returns Location: with HTTP 302

fragment of nginx configuration file for internalhost (generated automatically):
server {
 listen 80;
 listen 443;

 root /var/www/redmine/public;
 passenger_enabled on;
 client_max_body_size 10m; # Max attachemnt size

 error_page 500 502 503 504 /50x.html;
 location = /50x.html {
 root html;

Where to dig to Redmine return public url in location?

Tried to add in the nginx configuration

did not help
June 14th 19 at 20:51
1 answer
June 14th 19 at 20:53
listen 443;
Why not ssl enabled??
Where to dig to Redmine return public url in location?
Why not just take it with sponsirovat?
Or You are quite definitely asked the question(although maybe I tuplyu)), or it's all trite, but why do You not see?

Find more questions by tags NginxPassengerRedmine