You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the port field is left empty in the configuration, Nginx fails to start due to an invalid port in the upstream configuration. This issue occurs because the default port (3000) is not automatically set when the port field is empty. The error message received when running nginx -t is as follows:
nginx: [emerg] invalid port in upstream "127.0.0.1:" in /home/user/hestiacp_nodejs_config/web/domain.tld/nodejs-app.conf:2
This indicates that Nginx is unable to parse the configuration due to the missing port number after the IP address.
Steps to Reproduce
Configure the Nginx upstream to use an IP address without specifying a port.
Attempt to start Nginx with the configuration.
Observe the error message indicating an invalid port in the upstream configuration.
It should automatically use the default port (3000) when the port field is empty in the configuration. This would allow Nginx to start successfully without requiring a port to be explicitly specified.
Description
When the port field is left empty in the configuration, Nginx fails to start due to an invalid port in the upstream configuration. This issue occurs because the default port (3000) is not automatically set when the port field is empty. The error message received when running
nginx -t
is as follows:This indicates that Nginx is unable to parse the configuration due to the missing port number after the IP address.
Steps to Reproduce
Generated config files
Expected Behavior
It should automatically use the default port (3000) when the port field is empty in the configuration. This would allow Nginx to start successfully without requiring a port to be explicitly specified.
Environment
/home/user/hestiacp_nodejs_config/web/domain.tld/nodejs-app.conf
The text was updated successfully, but these errors were encountered: