502 bad gateway on nginx

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP












1















I'm getting 502 bad gateway on an nginx with the following errors:



[error] 1679#1679: *13 connect() failed (111: Connection refused) while connecting to upstream, client: 46.176.252.229, server: dodeka-designers.com, request: "GET / HTTP/1.1", upstream: "http://127.0.0.1:3000/", host: "dodeka-designers.com"


This is my /etc/nginx/sites-available/default content. Does anyone have any idea what the issue could be?



server 
listen 80;
server_name dodeka-designers.com www.dodeka-designers.com;
location ~ /.well-known
allow all;


location /
proxy_pass http://localhost:3000;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';
proxy_set_header Host $host;
proxy_cache_bypass $http_upgrade;
client_max_body_size 50M;


location /back
if ($request_method = 'OPTIONS')
add_header 'Access-Control-Allow-Origin' '*';
add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS';
add_header 'Access-Control-Allow-Headers' 'DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Content-Range,Range';
add_header 'Access-Control-Max-Age' 1728000;
add_header 'Content-Type' 'text/plain charset=UTF-8';
add_header 'Content-Length' 0;
return 200;

if ($request_method = 'POST')
add_header 'Access-Control-Allow-Origin' '*';
add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS';
add_header 'Access-Control-Allow-Headers' 'DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Content-Range,Range';
add_header 'Access-Control-Expose-Headers' 'DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Content-Range,Range';

if ($request_method = 'GET')
add_header 'Access-Control-Allow-Origin' '*';
add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS';
add_header 'Access-Control-Allow-Headers' 'DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Content-Range,Range';
add_header 'Access-Control-Expose-Headers' 'DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Content-Range,Range';

rewrite ^/back(.*)$ $1 break;
root /var/www/html;

client_max_body_size 50M;
proxy_http_version 1.1;
proxy_connect_timeout 3600;
proxy_send_timeout 3600;
proxy_read_timeout 3600;
send_timeout 3600;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';
proxy_set_header Host $host;
proxy_cache_bypass $http_upgrade;

index index.php index.html index.htm;


location ~ .php$

rewrite ^/back(.*)$ $1 break;
root /var/www/html;

include snippets/fastcgi-php.conf;
fastcgi_pass unix:/run/php/php7.0-fpm.sock;
fastcgi_split_path_info ^(.+.php)(/.+)$;

client_max_body_size 50M;
proxy_http_version 1.1;
proxy_connect_timeout 3600;
proxy_send_timeout 3600;
proxy_read_timeout 3600;
send_timeout 3600;
fastcgi_read_timeout 3600;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';
proxy_set_header Host $host;
proxy_cache_bypass $http_upgrade;




listen 443 ssl; # managed by Certbot
ssl_certificate /etc/letsencrypt/live/dodeka-designers.com/fullchain.pem; # managed by Certbot
ssl_certificate_key /etc/letsencrypt/live/dodeka-designers.com/privkey.pem; # managed by Certbot
include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot
ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot










share|improve this question



















  • 1





    Do you really want to post your actual IP and server configuration like this?

    – terdon
    Jan 29 at 18:40











  • That error is portmap and is not even related to nginx. You also should not have the portmap port open to the word at large.

    – Rui F Ribeiro
    Jan 29 at 18:55







  • 1





    Are you sure you want to be looking at sites-available rather than sites-enabled?

    – roaima
    Jan 29 at 19:19















1















I'm getting 502 bad gateway on an nginx with the following errors:



[error] 1679#1679: *13 connect() failed (111: Connection refused) while connecting to upstream, client: 46.176.252.229, server: dodeka-designers.com, request: "GET / HTTP/1.1", upstream: "http://127.0.0.1:3000/", host: "dodeka-designers.com"


This is my /etc/nginx/sites-available/default content. Does anyone have any idea what the issue could be?



server 
listen 80;
server_name dodeka-designers.com www.dodeka-designers.com;
location ~ /.well-known
allow all;


location /
proxy_pass http://localhost:3000;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';
proxy_set_header Host $host;
proxy_cache_bypass $http_upgrade;
client_max_body_size 50M;


location /back
if ($request_method = 'OPTIONS')
add_header 'Access-Control-Allow-Origin' '*';
add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS';
add_header 'Access-Control-Allow-Headers' 'DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Content-Range,Range';
add_header 'Access-Control-Max-Age' 1728000;
add_header 'Content-Type' 'text/plain charset=UTF-8';
add_header 'Content-Length' 0;
return 200;

if ($request_method = 'POST')
add_header 'Access-Control-Allow-Origin' '*';
add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS';
add_header 'Access-Control-Allow-Headers' 'DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Content-Range,Range';
add_header 'Access-Control-Expose-Headers' 'DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Content-Range,Range';

if ($request_method = 'GET')
add_header 'Access-Control-Allow-Origin' '*';
add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS';
add_header 'Access-Control-Allow-Headers' 'DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Content-Range,Range';
add_header 'Access-Control-Expose-Headers' 'DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Content-Range,Range';

rewrite ^/back(.*)$ $1 break;
root /var/www/html;

client_max_body_size 50M;
proxy_http_version 1.1;
proxy_connect_timeout 3600;
proxy_send_timeout 3600;
proxy_read_timeout 3600;
send_timeout 3600;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';
proxy_set_header Host $host;
proxy_cache_bypass $http_upgrade;

index index.php index.html index.htm;


location ~ .php$

rewrite ^/back(.*)$ $1 break;
root /var/www/html;

include snippets/fastcgi-php.conf;
fastcgi_pass unix:/run/php/php7.0-fpm.sock;
fastcgi_split_path_info ^(.+.php)(/.+)$;

client_max_body_size 50M;
proxy_http_version 1.1;
proxy_connect_timeout 3600;
proxy_send_timeout 3600;
proxy_read_timeout 3600;
send_timeout 3600;
fastcgi_read_timeout 3600;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';
proxy_set_header Host $host;
proxy_cache_bypass $http_upgrade;




listen 443 ssl; # managed by Certbot
ssl_certificate /etc/letsencrypt/live/dodeka-designers.com/fullchain.pem; # managed by Certbot
ssl_certificate_key /etc/letsencrypt/live/dodeka-designers.com/privkey.pem; # managed by Certbot
include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot
ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot










share|improve this question



















  • 1





    Do you really want to post your actual IP and server configuration like this?

    – terdon
    Jan 29 at 18:40











  • That error is portmap and is not even related to nginx. You also should not have the portmap port open to the word at large.

    – Rui F Ribeiro
    Jan 29 at 18:55







  • 1





    Are you sure you want to be looking at sites-available rather than sites-enabled?

    – roaima
    Jan 29 at 19:19













1












1








1








I'm getting 502 bad gateway on an nginx with the following errors:



[error] 1679#1679: *13 connect() failed (111: Connection refused) while connecting to upstream, client: 46.176.252.229, server: dodeka-designers.com, request: "GET / HTTP/1.1", upstream: "http://127.0.0.1:3000/", host: "dodeka-designers.com"


This is my /etc/nginx/sites-available/default content. Does anyone have any idea what the issue could be?



server 
listen 80;
server_name dodeka-designers.com www.dodeka-designers.com;
location ~ /.well-known
allow all;


location /
proxy_pass http://localhost:3000;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';
proxy_set_header Host $host;
proxy_cache_bypass $http_upgrade;
client_max_body_size 50M;


location /back
if ($request_method = 'OPTIONS')
add_header 'Access-Control-Allow-Origin' '*';
add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS';
add_header 'Access-Control-Allow-Headers' 'DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Content-Range,Range';
add_header 'Access-Control-Max-Age' 1728000;
add_header 'Content-Type' 'text/plain charset=UTF-8';
add_header 'Content-Length' 0;
return 200;

if ($request_method = 'POST')
add_header 'Access-Control-Allow-Origin' '*';
add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS';
add_header 'Access-Control-Allow-Headers' 'DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Content-Range,Range';
add_header 'Access-Control-Expose-Headers' 'DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Content-Range,Range';

if ($request_method = 'GET')
add_header 'Access-Control-Allow-Origin' '*';
add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS';
add_header 'Access-Control-Allow-Headers' 'DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Content-Range,Range';
add_header 'Access-Control-Expose-Headers' 'DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Content-Range,Range';

rewrite ^/back(.*)$ $1 break;
root /var/www/html;

client_max_body_size 50M;
proxy_http_version 1.1;
proxy_connect_timeout 3600;
proxy_send_timeout 3600;
proxy_read_timeout 3600;
send_timeout 3600;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';
proxy_set_header Host $host;
proxy_cache_bypass $http_upgrade;

index index.php index.html index.htm;


location ~ .php$

rewrite ^/back(.*)$ $1 break;
root /var/www/html;

include snippets/fastcgi-php.conf;
fastcgi_pass unix:/run/php/php7.0-fpm.sock;
fastcgi_split_path_info ^(.+.php)(/.+)$;

client_max_body_size 50M;
proxy_http_version 1.1;
proxy_connect_timeout 3600;
proxy_send_timeout 3600;
proxy_read_timeout 3600;
send_timeout 3600;
fastcgi_read_timeout 3600;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';
proxy_set_header Host $host;
proxy_cache_bypass $http_upgrade;




listen 443 ssl; # managed by Certbot
ssl_certificate /etc/letsencrypt/live/dodeka-designers.com/fullchain.pem; # managed by Certbot
ssl_certificate_key /etc/letsencrypt/live/dodeka-designers.com/privkey.pem; # managed by Certbot
include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot
ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot










share|improve this question
















I'm getting 502 bad gateway on an nginx with the following errors:



[error] 1679#1679: *13 connect() failed (111: Connection refused) while connecting to upstream, client: 46.176.252.229, server: dodeka-designers.com, request: "GET / HTTP/1.1", upstream: "http://127.0.0.1:3000/", host: "dodeka-designers.com"


This is my /etc/nginx/sites-available/default content. Does anyone have any idea what the issue could be?



server 
listen 80;
server_name dodeka-designers.com www.dodeka-designers.com;
location ~ /.well-known
allow all;


location /
proxy_pass http://localhost:3000;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';
proxy_set_header Host $host;
proxy_cache_bypass $http_upgrade;
client_max_body_size 50M;


location /back
if ($request_method = 'OPTIONS')
add_header 'Access-Control-Allow-Origin' '*';
add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS';
add_header 'Access-Control-Allow-Headers' 'DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Content-Range,Range';
add_header 'Access-Control-Max-Age' 1728000;
add_header 'Content-Type' 'text/plain charset=UTF-8';
add_header 'Content-Length' 0;
return 200;

if ($request_method = 'POST')
add_header 'Access-Control-Allow-Origin' '*';
add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS';
add_header 'Access-Control-Allow-Headers' 'DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Content-Range,Range';
add_header 'Access-Control-Expose-Headers' 'DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Content-Range,Range';

if ($request_method = 'GET')
add_header 'Access-Control-Allow-Origin' '*';
add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS';
add_header 'Access-Control-Allow-Headers' 'DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Content-Range,Range';
add_header 'Access-Control-Expose-Headers' 'DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Content-Range,Range';

rewrite ^/back(.*)$ $1 break;
root /var/www/html;

client_max_body_size 50M;
proxy_http_version 1.1;
proxy_connect_timeout 3600;
proxy_send_timeout 3600;
proxy_read_timeout 3600;
send_timeout 3600;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';
proxy_set_header Host $host;
proxy_cache_bypass $http_upgrade;

index index.php index.html index.htm;


location ~ .php$

rewrite ^/back(.*)$ $1 break;
root /var/www/html;

include snippets/fastcgi-php.conf;
fastcgi_pass unix:/run/php/php7.0-fpm.sock;
fastcgi_split_path_info ^(.+.php)(/.+)$;

client_max_body_size 50M;
proxy_http_version 1.1;
proxy_connect_timeout 3600;
proxy_send_timeout 3600;
proxy_read_timeout 3600;
send_timeout 3600;
fastcgi_read_timeout 3600;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';
proxy_set_header Host $host;
proxy_cache_bypass $http_upgrade;




listen 443 ssl; # managed by Certbot
ssl_certificate /etc/letsencrypt/live/dodeka-designers.com/fullchain.pem; # managed by Certbot
ssl_certificate_key /etc/letsencrypt/live/dodeka-designers.com/privkey.pem; # managed by Certbot
include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot
ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot







nginx






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jan 29 at 18:40









terdon

131k32256435




131k32256435










asked Jan 29 at 18:29









Stefanos ManolakisStefanos Manolakis

61




61







  • 1





    Do you really want to post your actual IP and server configuration like this?

    – terdon
    Jan 29 at 18:40











  • That error is portmap and is not even related to nginx. You also should not have the portmap port open to the word at large.

    – Rui F Ribeiro
    Jan 29 at 18:55







  • 1





    Are you sure you want to be looking at sites-available rather than sites-enabled?

    – roaima
    Jan 29 at 19:19












  • 1





    Do you really want to post your actual IP and server configuration like this?

    – terdon
    Jan 29 at 18:40











  • That error is portmap and is not even related to nginx. You also should not have the portmap port open to the word at large.

    – Rui F Ribeiro
    Jan 29 at 18:55







  • 1





    Are you sure you want to be looking at sites-available rather than sites-enabled?

    – roaima
    Jan 29 at 19:19







1




1





Do you really want to post your actual IP and server configuration like this?

– terdon
Jan 29 at 18:40





Do you really want to post your actual IP and server configuration like this?

– terdon
Jan 29 at 18:40













That error is portmap and is not even related to nginx. You also should not have the portmap port open to the word at large.

– Rui F Ribeiro
Jan 29 at 18:55






That error is portmap and is not even related to nginx. You also should not have the portmap port open to the word at large.

– Rui F Ribeiro
Jan 29 at 18:55





1




1





Are you sure you want to be looking at sites-available rather than sites-enabled?

– roaima
Jan 29 at 19:19





Are you sure you want to be looking at sites-available rather than sites-enabled?

– roaima
Jan 29 at 19:19










1 Answer
1






active

oldest

votes


















0














You are running a reverse proxy that is trying to connect to another service on 'http://localhost:3000', so this error is not on nginx since this other service on localhost:3000 is not answering nginx requests or it is not answering it properly to be handle by the reverse proxy (for example, it is producing a redirection).



If you are able to connect to port 3000 via telnet for example (command to execute this test: telnet localhost 3000), check if it is speaking in plain text or if it is encripted (https...) - because you configured nginx to connect to this other service as http only, if you are not able to connect to port 3000, then you must determine what service you have in this port that should be fixed, nginx has nothing to do with that.



You did not expect nginx to be a **reverse proxy?** Them you need to edit its configuration to remove the "proxy" lines.






share|improve this answer






















    Your Answer








    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "106"
    ;
    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: false,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    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
    );



    );













    draft saved

    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f497521%2f502-bad-gateway-on-nginx%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    You are running a reverse proxy that is trying to connect to another service on 'http://localhost:3000', so this error is not on nginx since this other service on localhost:3000 is not answering nginx requests or it is not answering it properly to be handle by the reverse proxy (for example, it is producing a redirection).



    If you are able to connect to port 3000 via telnet for example (command to execute this test: telnet localhost 3000), check if it is speaking in plain text or if it is encripted (https...) - because you configured nginx to connect to this other service as http only, if you are not able to connect to port 3000, then you must determine what service you have in this port that should be fixed, nginx has nothing to do with that.



    You did not expect nginx to be a **reverse proxy?** Them you need to edit its configuration to remove the "proxy" lines.






    share|improve this answer



























      0














      You are running a reverse proxy that is trying to connect to another service on 'http://localhost:3000', so this error is not on nginx since this other service on localhost:3000 is not answering nginx requests or it is not answering it properly to be handle by the reverse proxy (for example, it is producing a redirection).



      If you are able to connect to port 3000 via telnet for example (command to execute this test: telnet localhost 3000), check if it is speaking in plain text or if it is encripted (https...) - because you configured nginx to connect to this other service as http only, if you are not able to connect to port 3000, then you must determine what service you have in this port that should be fixed, nginx has nothing to do with that.



      You did not expect nginx to be a **reverse proxy?** Them you need to edit its configuration to remove the "proxy" lines.






      share|improve this answer

























        0












        0








        0







        You are running a reverse proxy that is trying to connect to another service on 'http://localhost:3000', so this error is not on nginx since this other service on localhost:3000 is not answering nginx requests or it is not answering it properly to be handle by the reverse proxy (for example, it is producing a redirection).



        If you are able to connect to port 3000 via telnet for example (command to execute this test: telnet localhost 3000), check if it is speaking in plain text or if it is encripted (https...) - because you configured nginx to connect to this other service as http only, if you are not able to connect to port 3000, then you must determine what service you have in this port that should be fixed, nginx has nothing to do with that.



        You did not expect nginx to be a **reverse proxy?** Them you need to edit its configuration to remove the "proxy" lines.






        share|improve this answer













        You are running a reverse proxy that is trying to connect to another service on 'http://localhost:3000', so this error is not on nginx since this other service on localhost:3000 is not answering nginx requests or it is not answering it properly to be handle by the reverse proxy (for example, it is producing a redirection).



        If you are able to connect to port 3000 via telnet for example (command to execute this test: telnet localhost 3000), check if it is speaking in plain text or if it is encripted (https...) - because you configured nginx to connect to this other service as http only, if you are not able to connect to port 3000, then you must determine what service you have in this port that should be fixed, nginx has nothing to do with that.



        You did not expect nginx to be a **reverse proxy?** Them you need to edit its configuration to remove the "proxy" lines.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Jan 29 at 18:38









        Luciano Andress MartiniLuciano Andress Martini

        3,908935




        3,908935



























            draft saved

            draft discarded
















































            Thanks for contributing an answer to Unix & Linux Stack Exchange!


            • 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.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f497521%2f502-bad-gateway-on-nginx%23new-answer', 'question_page');

            );

            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






            Popular posts from this blog

            Peggy Mitchell

            Palaiologos

            The Forum (Inglewood, California)