Comments (4)
I'm running multiple instances behind a reverse proxy.
Two things you can try:
- Remove the slash at the end of your proxy pass:
proxy_pass http://127.0.0.1:5800;
- Include the proxy parameters before your location block:
include proxy_params;
from docker-idrac6.
Tried changing the slash at the end of the proxy pass statement, no change.
Tried adding the proxy_params directive and this broke nginx config. I don't think it exists in my configuration.
Tried defining proxy_params from a "generic" configuration and didn't change anything (except allowed nginx to start).
from docker-idrac6.
This is the configuration I use:
/etc/nginx/conf.d/proxy.conf:
map $http_x_forwarded_proto $proxy_x_forwarded_proto
{
default $http_x_forwarded_proto;
'' $scheme;
}
map $http_upgrade $proxy_connection
{
default upgrade;
'' close;
}
/etc/nginx/proxy_params:
proxy_http_version 1.1;
proxy_buffering off;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $proxy_x_forwarded_proto;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $proxy_connection;
proxy_set_header Proxy "";
proxy_read_timeout 1d;
/etc/nginx/sites-available/srv1.idrac.example.org:
server
{
#include listen.conf;
server_name srv1.idrac.example.org;
#include headers.conf;
#include ssl_headers.conf;
#include ssl.conf;
#ssl_certificate /certs/idrac.example.org/fullchain.pem;
#ssl_certificate_key /certs/idrac.example.org/privkey.pem;
#include auth_sso.conf;
include proxy_params;
location /
{
proxy_pass http://node01.example.org:5801;
}
}
I commented out the HTTPS parts, just need to add a listen for port 80 and adjust your upstream host.
from docker-idrac6.
Excellent! That works! Thank you for the help! I really appreciate it.
Just in case anyone comes behind me and asks the same question, be careful of the proxy.conf file.
The line that reads ''$scheme; and ''close; have a space between the single quotes and the keywords. Github butchered the output.
from docker-idrac6.
Related Issues (20)
- Connection failing HOT 5
- Connection failing R510 running v1.52 HOT 1
- Full Screen mode does not work HOT 3
- Wrong client desktop size HOT 3
- Docker starts and restarts HOT 10
- Clipboard not working
- Modification for IBM x3650 M3 HOT 3
- Support for Supermicro IPMI HOT 4
- Container abends with out of memory errors HOT 1
- Login failed, possibly due to slow network connection. HOT 2
- Server disconnected error code 1006 HOT 1
- New Macro Ctrl + N
- Container using up all memory then crashing/stopping HOT 2
- zulu update broke Dell R210 iDRAC6 HOT 6
- Does it works with iDrac6 Express? HOT 1
- Possible to enter iDRAC username and password on the web? HOT 1
- Keyboard input incorrect
- Stuggling to get this to work
- Mounting vmedia HOT 1
- iDRAC7 support? HOT 1
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 docker-idrac6.