Fix nginx config to make non vhost configs default_server
Nginx does not match on the ip as a vhost. This no basically replaces the commented out section in the nginx.conf
This commit is contained in:
@@ -206,7 +206,7 @@ function configureAdmin(callback) {
|
||||
}
|
||||
|
||||
// always create a configuration for the ip
|
||||
nginx.configureAdmin(certFilePath, keyFilePath, IP_BASED_SETUP_NAME + '.conf', ip, function (error) {
|
||||
nginx.configureAdmin(certFilePath, keyFilePath, IP_BASED_SETUP_NAME + '.conf', '', function (error) {
|
||||
if (error) return callback(error);
|
||||
|
||||
// skip my.domain.com setup if we don't have a domain
|
||||
|
||||
Reference in New Issue
Block a user