Comments (6)
here's a screenshot:
https://img.skitch.com/20120415-ecquiyjxpufs8p51utkq5i4b5j.jpg
from backstage.
@sghael - are you using TorqueBox behind a load balancer?
from backstage.
behind an Nginx reverse proxy
this is my, very simple, rev-proxy rule:
server {
listen 80;
location / {
proxy_pass http://127.0.0.1:8080/;
}
}
On Mon, Apr 16, 2012 at 2:28 PM, Tobias Crawley <
[email protected]
wrote:
@sghael - are you using TorqueBox behind a load balancer?
Reply to this email directly or view it on GitHub:
#14 (comment)
from backstage.
Can you add:
proxy_set_header X-Forwarded-Host $host;
to the location
block in your nginx setup? sinatra will try to get request.host
from there if it exists. If that doesn't fix the issue, I'll dig deeper.
from backstage.
setting proxy_set_header did the trick... Sorry for the false bug report. Thanks!
from backstage.
No worries - I'm glad we figured it out.
from backstage.
Related Issues (20)
- Cannot build gem on Windows 7 x64 machine (Encoding::InvalidByteSequenceError) HOT 7
- Queues -> View Messages seems to be broken HOT 3
- Exception on Torquebox 2.0.0.beta2 with latest master HOT 11
- backstage deploy not working with gem version of torquebox HOT 1
- use the torquebox command to find $TORQUEBOX_HOME if it's not set
- Bond dependency requires compilation HOT 4
- Unexpected file in Infinispan cache store HOT 2
- Wire up sessions so mod_cluster can use them for session affinity HOT 1
- jmx gem dependency HOT 5
- Include message queue consumers on other servers HOT 2
- Fails on torquebox 2.3.0 HOT 4
- TB 2.3.0 dependency somewhere HOT 7
- Warning when running bundler HOT 1
- Gem won't bundle with Rails 3.2 app HOT 2
- Version restrictions are very strict. HOT 1
- Add support for infinispan stats HOT 2
- Evaluate of String in the contexts of a Rails 4.x application fails HOT 2
- torquebox-backstage lost authentication after deploy/undeploy/deploy simple application HOT 1
- Incompatible with TB 3.2 HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from backstage.