-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3847 from NginxProxyManager/develop
v2.11.3
- Loading branch information
Showing
43 changed files
with
1,454 additions
and
1,213 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
2.11.2 | ||
2.11.3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,11 +21,14 @@ const setupDefaultUser = () => { | |
.then((row) => { | ||
if (!row.count) { | ||
// Create a new user and set password | ||
logger.info('Creating a new user: [email protected] with password: changeme'); | ||
let email = process.env.INITIAL_ADMIN_EMAIL || '[email protected]'; | ||
let password = process.env.INITIAL_ADMIN_PASSWORD || 'changeme'; | ||
|
||
logger.info('Creating a new user: ' + email + ' with password: ' + password); | ||
|
||
let data = { | ||
is_deleted: 0, | ||
email: '[email protected]', | ||
email: email, | ||
name: 'Administrator', | ||
nickname: 'Admin', | ||
avatar: '', | ||
|
@@ -41,7 +44,7 @@ const setupDefaultUser = () => { | |
.insert({ | ||
user_id: user.id, | ||
type: 'password', | ||
secret: 'changeme', | ||
secret: password, | ||
meta: {}, | ||
}) | ||
.then(() => { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{ | ||
"log": { | ||
"format": "nice", | ||
"level": "debug" | ||
}, | ||
"servers": [ | ||
{ | ||
"host": "0.0.0.0", | ||
"port": 53, | ||
"upstreams": [ | ||
{ | ||
"regex": "website[0-9]+.example\\.com", | ||
"upstream": "127.0.0.11" | ||
}, | ||
{ | ||
"regex": ".*\\.example\\.com", | ||
"upstream": "1.1.1.1" | ||
}, | ||
{ | ||
"regex": "local", | ||
"nxdomain": true | ||
} | ||
], | ||
"internal": null, | ||
"default_upstream": "127.0.0.11" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
text = True | ||
non-interactive = True | ||
webroot-path = /data/letsencrypt-acme-challenge | ||
key-type = ecdsa | ||
elliptic-curve = secp384r1 | ||
preferred-chain = ISRG Root X1 | ||
server = |
Oops, something went wrong.