J. Shirley wrote:
It should happen automatically, provided you have set the "using_frontend_proxy" option. Are you setting that correctly?

-J

I have tried putting using_frontend_proxy 1 in myapp.conf and also __PACKAGE__->config( name => 'MyApp', 'using_frontend_proxy' => 1 ) in MyApp.pm
Neither of those seem to work. Are these the wrong way to set it?
I haven't been able to find the documentation for this

this is what i have in my nginx.conf
       location /my_app/ {
           proxy_set_header Host $http_host;
           proxy_set_header X-Forwarded-Host $http_host;
           proxy_set_header X-Real-IP $remote_addr;
           proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

           proxy_pass  http://localhost:3000/;
       }

thanks


_______________________________________________
List: [email protected]
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/

Reply via email to