Nginx too many redirects on web applicationWeb server redirect to port 80Incorrect Django redirect from...
What is the difference between "behavior" and "behaviour"?
Customer Requests (Sometimes) Drive Me Bonkers!
Why, precisely, is argon used in neutrino experiments?
What is the opposite of 'gravitas'?
What is the intuitive meaning of having a linear relationship between the logs of two variables?
Did the DC-9 ever use RATO in revenue service?
You cannot touch me, but I can touch you, who am I?
How do I extract a value from a time formatted value in excel?
Was Spock the First Vulcan in Starfleet?
Did Dumbledore lie to Harry about how long he had James Potter's invisibility cloak when he was examining it? If so, why?
How can we prove that any integral in the set of non-elementary integrals cannot be expressed in the form of elementary functions?
How do we know the LHC results are robust?
Is oxalic acid dihydrate considered a primary acid standard in analytical chemistry?
Why Were Madagascar and New Zealand Discovered So Late?
How can a function with a hole (removable discontinuity) equal a function with no hole?
Implement the Thanos sorting algorithm
How do scammers retract money, while you can’t?
Different result between scanning in Epson's "color negative film" mode and scanning in positive -> invert curve in post?
What happens if you roll doubles 3 times then land on "Go to jail?"
How do I rename a Linux host without needing to reboot for the rename to take effect?
How long to clear the 'suck zone' of a turbofan after start is initiated?
CREATE opcode: what does it really do?
What can we do to stop prior company from asking us questions?
Unreliable Magic - Is it worth it?
Nginx too many redirects on web application
Web server redirect to port 80Incorrect Django redirect from nginx/Apache HTTPS proxy misconfigurationnginx load balancer rewrite to listen portNginx sever not handling 404 from upstreamsLoad Balancer and Proxy for Meteor not passing to 127.0.0.1 - Too Many Redirects?Nginx - too many redirectsnginx too many redirects (cloudflare and https)use nginx to handle ssl and subdomains by portsconfigure nginx to pass redirects through from upstream proxied applicationServe Django Media Files via Nginx (Django/React/Nginx/Docker-Compose)
I'm attempting to run nginx to stand in as reverse proxy for multiple web services and applications. I am able to access a Java web service that returns one page status, however when attempting to access a Django web application running on another server, I get 'too many redirects' error. The url lands on the user login page of the application. Below is the simple config file. If I replace the address:port/application name with the Django app it fails, with Java server it works. Is there some other configuration I need to add to enable a web application?
server {
listen 8081;
location = /act {
proxy_pass http://192.168.100.155:8080/Activation;
}
}
nginx django
New contributor
add a comment |
I'm attempting to run nginx to stand in as reverse proxy for multiple web services and applications. I am able to access a Java web service that returns one page status, however when attempting to access a Django web application running on another server, I get 'too many redirects' error. The url lands on the user login page of the application. Below is the simple config file. If I replace the address:port/application name with the Django app it fails, with Java server it works. Is there some other configuration I need to add to enable a web application?
server {
listen 8081;
location = /act {
proxy_pass http://192.168.100.155:8080/Activation;
}
}
nginx django
New contributor
add a comment |
I'm attempting to run nginx to stand in as reverse proxy for multiple web services and applications. I am able to access a Java web service that returns one page status, however when attempting to access a Django web application running on another server, I get 'too many redirects' error. The url lands on the user login page of the application. Below is the simple config file. If I replace the address:port/application name with the Django app it fails, with Java server it works. Is there some other configuration I need to add to enable a web application?
server {
listen 8081;
location = /act {
proxy_pass http://192.168.100.155:8080/Activation;
}
}
nginx django
New contributor
I'm attempting to run nginx to stand in as reverse proxy for multiple web services and applications. I am able to access a Java web service that returns one page status, however when attempting to access a Django web application running on another server, I get 'too many redirects' error. The url lands on the user login page of the application. Below is the simple config file. If I replace the address:port/application name with the Django app it fails, with Java server it works. Is there some other configuration I need to add to enable a web application?
server {
listen 8081;
location = /act {
proxy_pass http://192.168.100.155:8080/Activation;
}
}
nginx django
nginx django
New contributor
New contributor
New contributor
asked 2 mins ago
Robert DanielsRobert Daniels
1
1
New contributor
New contributor
add a comment |
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "2"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Robert Daniels is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f960358%2fnginx-too-many-redirects-on-web-application%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Robert Daniels is a new contributor. Be nice, and check out our Code of Conduct.
Robert Daniels is a new contributor. Be nice, and check out our Code of Conduct.
Robert Daniels is a new contributor. Be nice, and check out our Code of Conduct.
Robert Daniels is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to Server Fault!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f960358%2fnginx-too-many-redirects-on-web-application%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown