Forum: NGINX Getting realpath for a request

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
361949226d4ae7eeeccb7f2e11596551?d=identicon&s=25 Chinoy Gupta (Guest)
on 2016-07-15 07:05
(Received via mailing list)
Hi,

I am creating a nginx proxy handler to talk to a backend server. In that
handler, I would like to get the physical path of the file to be served
by a request. The file can be present in the docroot of nginx or any
alias. How can I get this information?

Regards,
Chinoy
This topic is locked and can not be replied to.