I think the proxy_set_header
directive could help:
location / {
proxy_pass http://my_app_upstream;
proxy_set_header Host $host;
# ...
}
More Related Contents:
- How do I update Ruby Gems from behind a Proxy (ISA-NTLM)
- EventSource / Server-Sent Events through Nginx
- Cannot install thin on windows
- RVM and thin, root vs. local user
- How to convert Time format in ruby
- Regex for reverse match a string
- Why do Ruby setters need “self.” qualification within the class?
- Ruby, Difference between exec, system and %x() or Backticks
- Why does Ruby 1.9.2 remove “.” from LOAD_PATH, and what’s the alternative?
- rvm installation not working: “RVM is not a function”
- How to understand symbols in Ruby
- Ruby array access 2 consecutive(chained) elements at a time
- What does &. (ampersand dot) mean in Ruby?
- How to count duplicate elements in a Ruby array
- Should Gemfile.lock be included in .gitignore?
- Get names of all files from a folder with Ruby
- Unresolved specs during Gem::Specification.reset:
- Extract a substring from a string in Ruby using a regular expression
- How to convert a string to a constant in Ruby?
- What does the “||=” operand stand for in ruby [duplicate]
- Method to parse HTML document in Ruby?
- Really Cheap Command-Line Option Parsing in Ruby
- Running another ruby script from a ruby script
- ruby: class instance variables vs instance variables
- How to get a substring of text?
- What are those pipe symbols for in Ruby?
- Ruby’s yield feature in relation to computer science
- How to convert JSON to a Ruby hash
- Why isn’t current directory on my Ruby path? [duplicate]
- Iterate over Ruby Time object with delta