nginx will not use apache2 as a proxyHow to make nginx reverse proxy let 503 error pages pass through to client?Nginx has ssl module, but thinks it doesn'tNginx proxy pass works for https but not httpNginx/Apache: set HSTS only if X-Forwarded-Proto is httpsnginx reverse proxy hide login query also on 301 redirect or full qualified url502 Bad Gateway on Nginx acting as Reverse proxy to add ssl for Upsource and HubHow to serve Autodiscover.xml using NginxConfigure NGINX : How to handle 500 Error on upstream itself, While Nginx handle other 5xx errorsWhy Nginx calls for invalid certificate in non-existent subdomains just to redirect to 404?Nginx reverse proxy to many local servers + webserver duty
Size of electromagnet needed to replicate Earth's magnetic field
How come there are so many candidates for the 2020 Democratic party presidential nomination?
How can the Zone of Truth spell be defeated without the caster knowing?
How to have a sharp product image?
Does a semiconductor follow Ohm's law?
how to find the equation of a circle given points of the circle
How can I place the product on a social media post better?
Why do games have consumables?
Why does nature favour the Laplacian?
Why do Computer Science majors learn Calculus?
How do I deal with a coworker that keeps asking to make small superficial changes to a report, and it is seriously triggering my anxiety?
Was there a Viking Exchange as well as a Columbian one?
What was the first Intel x86 processor with "Base + Index * Scale + Displacement" addressing mode?
Error message with tabularx
A Note on N!
Why isn't the definition of absolute value applied when squaring a radical containing a variable?
What makes accurate emulation of old systems a difficult task?
What is Niska's accent?
What route did the Hindenburg take when traveling from Germany to the U.S.?
Examples of non trivial equivalence relations , I mean equivalence relations without the expression " same ... as" in their definition?
How to make a pipeline wait for end-of-file or stop after an error?
How much cash can I safely carry into the USA and avoid civil forfeiture?
Realistic Necromancy?
How would one muzzle a full grown polar bear in the 13th century?
nginx will not use apache2 as a proxy
How to make nginx reverse proxy let 503 error pages pass through to client?Nginx has ssl module, but thinks it doesn'tNginx proxy pass works for https but not httpNginx/Apache: set HSTS only if X-Forwarded-Proto is httpsnginx reverse proxy hide login query also on 301 redirect or full qualified url502 Bad Gateway on Nginx acting as Reverse proxy to add ssl for Upsource and HubHow to serve Autodiscover.xml using NginxConfigure NGINX : How to handle 500 Error on upstream itself, While Nginx handle other 5xx errorsWhy Nginx calls for invalid certificate in non-existent subdomains just to redirect to 404?Nginx reverse proxy to many local servers + webserver duty
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;
Error Log:
2019/04/20 14:42:12 [error] 13387#13387: *107 connect() failed (111:
Connection refused) while connecting to upstream, client: 94.174.93.252,
server: dev.exoscape.co.uk, request: "GET /favicon.ico HTTP/1.1", upstream:
"http://127.0.0.1:8080/favicon.ico", host: "dev.exoscape.co.uk", referrer:
"https://dev.exoscape.co.uk/"
Server Configuration:
server
server_name dev.exoscape.co.uk;
location /
proxy_pass http://localhost:8080/;
listen 443 ssl; # managed by Certbot
ssl_certificate /etc/letsencrypt/live/dev.exoscape.co.uk/fullchain.pem; # m$
ssl_certificate_key /etc/letsencrypt/live/dev.exoscape.co.uk/privkey.pem; #$
include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot
ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot
server
if ($host = dev.exoscape.co.uk)
return 301 https://$host$request_uri;
# managed by Certbot
server_name dev.exoscape.co.uk;
listen 80;
return 404; # managed by Certbot
I have Apache2 running on port 8080 with my website running. When I visit the page I get 502 Bad Gateway. How can I access my files in /var/www/html through Apache2?
linux nginx reverse-proxy apache2 ubuntu-16.04
add a comment |
Error Log:
2019/04/20 14:42:12 [error] 13387#13387: *107 connect() failed (111:
Connection refused) while connecting to upstream, client: 94.174.93.252,
server: dev.exoscape.co.uk, request: "GET /favicon.ico HTTP/1.1", upstream:
"http://127.0.0.1:8080/favicon.ico", host: "dev.exoscape.co.uk", referrer:
"https://dev.exoscape.co.uk/"
Server Configuration:
server
server_name dev.exoscape.co.uk;
location /
proxy_pass http://localhost:8080/;
listen 443 ssl; # managed by Certbot
ssl_certificate /etc/letsencrypt/live/dev.exoscape.co.uk/fullchain.pem; # m$
ssl_certificate_key /etc/letsencrypt/live/dev.exoscape.co.uk/privkey.pem; #$
include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot
ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot
server
if ($host = dev.exoscape.co.uk)
return 301 https://$host$request_uri;
# managed by Certbot
server_name dev.exoscape.co.uk;
listen 80;
return 404; # managed by Certbot
I have Apache2 running on port 8080 with my website running. When I visit the page I get 502 Bad Gateway. How can I access my files in /var/www/html through Apache2?
linux nginx reverse-proxy apache2 ubuntu-16.04
There is a certain chance that apache2 is running on port 8080.. on a specific address, while nginx tries127.0.0.1. edit your post to include your apache2 config and the steps you tried to verify that apache2 is correctly setup.
– anx
Apr 20 at 12:54
How could I not use apache 2 and jus execute files on/var/www/html/@anx
– Jaquarh
Apr 20 at 13:05
It's your Apache configuration that we need to see here.
– Michael Hampton♦
Apr 20 at 15:22
add a comment |
Error Log:
2019/04/20 14:42:12 [error] 13387#13387: *107 connect() failed (111:
Connection refused) while connecting to upstream, client: 94.174.93.252,
server: dev.exoscape.co.uk, request: "GET /favicon.ico HTTP/1.1", upstream:
"http://127.0.0.1:8080/favicon.ico", host: "dev.exoscape.co.uk", referrer:
"https://dev.exoscape.co.uk/"
Server Configuration:
server
server_name dev.exoscape.co.uk;
location /
proxy_pass http://localhost:8080/;
listen 443 ssl; # managed by Certbot
ssl_certificate /etc/letsencrypt/live/dev.exoscape.co.uk/fullchain.pem; # m$
ssl_certificate_key /etc/letsencrypt/live/dev.exoscape.co.uk/privkey.pem; #$
include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot
ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot
server
if ($host = dev.exoscape.co.uk)
return 301 https://$host$request_uri;
# managed by Certbot
server_name dev.exoscape.co.uk;
listen 80;
return 404; # managed by Certbot
I have Apache2 running on port 8080 with my website running. When I visit the page I get 502 Bad Gateway. How can I access my files in /var/www/html through Apache2?
linux nginx reverse-proxy apache2 ubuntu-16.04
Error Log:
2019/04/20 14:42:12 [error] 13387#13387: *107 connect() failed (111:
Connection refused) while connecting to upstream, client: 94.174.93.252,
server: dev.exoscape.co.uk, request: "GET /favicon.ico HTTP/1.1", upstream:
"http://127.0.0.1:8080/favicon.ico", host: "dev.exoscape.co.uk", referrer:
"https://dev.exoscape.co.uk/"
Server Configuration:
server
server_name dev.exoscape.co.uk;
location /
proxy_pass http://localhost:8080/;
listen 443 ssl; # managed by Certbot
ssl_certificate /etc/letsencrypt/live/dev.exoscape.co.uk/fullchain.pem; # m$
ssl_certificate_key /etc/letsencrypt/live/dev.exoscape.co.uk/privkey.pem; #$
include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot
ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot
server
if ($host = dev.exoscape.co.uk)
return 301 https://$host$request_uri;
# managed by Certbot
server_name dev.exoscape.co.uk;
listen 80;
return 404; # managed by Certbot
I have Apache2 running on port 8080 with my website running. When I visit the page I get 502 Bad Gateway. How can I access my files in /var/www/html through Apache2?
linux nginx reverse-proxy apache2 ubuntu-16.04
linux nginx reverse-proxy apache2 ubuntu-16.04
asked Apr 20 at 12:46
JaquarhJaquarh
1043
1043
There is a certain chance that apache2 is running on port 8080.. on a specific address, while nginx tries127.0.0.1. edit your post to include your apache2 config and the steps you tried to verify that apache2 is correctly setup.
– anx
Apr 20 at 12:54
How could I not use apache 2 and jus execute files on/var/www/html/@anx
– Jaquarh
Apr 20 at 13:05
It's your Apache configuration that we need to see here.
– Michael Hampton♦
Apr 20 at 15:22
add a comment |
There is a certain chance that apache2 is running on port 8080.. on a specific address, while nginx tries127.0.0.1. edit your post to include your apache2 config and the steps you tried to verify that apache2 is correctly setup.
– anx
Apr 20 at 12:54
How could I not use apache 2 and jus execute files on/var/www/html/@anx
– Jaquarh
Apr 20 at 13:05
It's your Apache configuration that we need to see here.
– Michael Hampton♦
Apr 20 at 15:22
There is a certain chance that apache2 is running on port 8080.. on a specific address, while nginx tries
127.0.0.1. edit your post to include your apache2 config and the steps you tried to verify that apache2 is correctly setup.– anx
Apr 20 at 12:54
There is a certain chance that apache2 is running on port 8080.. on a specific address, while nginx tries
127.0.0.1. edit your post to include your apache2 config and the steps you tried to verify that apache2 is correctly setup.– anx
Apr 20 at 12:54
How could I not use apache 2 and jus execute files on
/var/www/html/ @anx– Jaquarh
Apr 20 at 13:05
How could I not use apache 2 and jus execute files on
/var/www/html/ @anx– Jaquarh
Apr 20 at 13:05
It's your Apache configuration that we need to see here.
– Michael Hampton♦
Apr 20 at 15:22
It's your Apache configuration that we need to see here.
– Michael Hampton♦
Apr 20 at 15:22
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
);
);
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%2f963898%2fnginx-will-not-use-apache2-as-a-proxy%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
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%2f963898%2fnginx-will-not-use-apache2-as-a-proxy%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
There is a certain chance that apache2 is running on port 8080.. on a specific address, while nginx tries
127.0.0.1. edit your post to include your apache2 config and the steps you tried to verify that apache2 is correctly setup.– anx
Apr 20 at 12:54
How could I not use apache 2 and jus execute files on
/var/www/html/@anx– Jaquarh
Apr 20 at 13:05
It's your Apache configuration that we need to see here.
– Michael Hampton♦
Apr 20 at 15:22