Size: a a a

2020 June 12

P

Parra in nginx_ru
in any case, thanks for your time!
источник

AN

Anton Noginov in nginx_ru
DIdn't get the problem.

 # ( strace -s 256 -f nginx -c /root/nginx.conf -g "daemon off ; " ) 2>&1 | grep ^bind
bind(6, {sa_family=AF_INET, sin_port=htons(9000), sin_addr=inet_addr("0.0.0.0")}, 16) = 0


Dummy config

user nobody nogroup;
worker_processes  1;
events {
   worker_connections  1024;
}

http {
   sendfile        on;
   keepalive_timeout  65;
   server {
     listen 9000 ;
     server_name default ;
     return 200 "OK";
   }
}
источник

P

Parra in nginx_ru
there was some additional server without port specified, and it opens 8000 by default
источник

P

Parra in nginx_ru
I was trying to see what was that 8000
источник

P

Parra in nginx_ru
I commented out that config and the issue stoped
источник

AN

Anton Noginov in nginx_ru
Just specify all ports explicitly. That's weird indeed to skip listener.
источник

P

Parra in nginx_ru
no more 8000 port binds
источник

P

Parra in nginx_ru
Anton Noginov
Just specify all ports explicitly. That's weird indeed to skip listener.
yeah
источник

P

Parra in nginx_ru
I don't even know what's this, this project is already old
источник

A

Aleksey in nginx_ru
источник

DQ

Dennis Quesada Cruz in nginx_ru
Hello everyone
источник

DQ

Dennis Quesada Cruz in nginx_ru
I have an Angular and NetCore app deployed with Nginx as a reverse proxy
источник

k

kiosaku in nginx_ru
and what?
источник

DQ

Dennis Quesada Cruz in nginx_ru
The app have an endpoint that sends mail through port 587 smtp.gmail.com, but when i run it, i have 504 Gateway Timeout nginx error
источник

k

kiosaku in nginx_ru
nginx -T -> pastebin.com if you please
источник

MT

M T in nginx_ru
вангую у него траблы с приложухой))0
источник

DQ

Dennis Quesada Cruz in nginx_ru
kiosaku
nginx -T -> pastebin.com if you please
The question is: do i need to configure some extra to send mail or recive requests from smtp.gmail.com??
источник

AN

Anton Noginov in nginx_ru
Most likely, your app isn't able to resolve/connect to google's smtp - and doesn't respect timeouts.
источник

k

kiosaku in nginx_ru
Dennis Quesada Cruz
The question is: do i need to configure some extra to send mail or recive requests from smtp.gmail.com??
you dont’t need to do anything if you could directly connect to tcp/587 of google
источник

DQ

Dennis Quesada Cruz in nginx_ru
Anton Noginov
Most likely, your app isn't able to resolve/connect to google's smtp - and doesn't respect timeouts.
But i see smtp.gmail.com fine? I mean i dont have any firewall or something that prevents out
источник