add example config
add generateLetsEncrypt setting
This commit is contained in:
parent
03acc4d5a3
commit
f244cda20f
|
@ -1 +1,35 @@
|
|||
{}
|
||||
{
|
||||
"web": {
|
||||
"host": "0.0.0.0",
|
||||
"listen": 8080,
|
||||
"ssl": {
|
||||
"enabled": false,
|
||||
"generateLetsEncrypt": true,
|
||||
"certificate": "/etc/letsencrypt/live/pterodactyl.app/fullchain.pem",
|
||||
"key": "/etc/letsencrypt/live/pterodactyl.app/privkey.pem"
|
||||
}
|
||||
},
|
||||
"docker": {
|
||||
"socket": "/var/run/docker.sock",
|
||||
"autoupdate_images": true,
|
||||
"interface": "172.18.0.1",
|
||||
"timezone_path": "/etc/timezone"
|
||||
},
|
||||
"sftp": {
|
||||
"path": "/srv/daemon-data",
|
||||
"port": 2022
|
||||
},
|
||||
"query": {
|
||||
"kill_on_fail": false,
|
||||
"fail_limit": 5
|
||||
},
|
||||
"logger": {
|
||||
"path": "logs/",
|
||||
"level": "debug"
|
||||
},
|
||||
"remote": "https://pterodactyl.app",
|
||||
"uploads": {
|
||||
"maximumSize": 150000000,
|
||||
"size_limit": "100"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -18,6 +18,8 @@ type Config struct {
|
|||
SSL struct {
|
||||
// Enabled allows to enable or disable ssl
|
||||
Enabled bool `json:"enabled"`
|
||||
// GenerateLetsEncrypt
|
||||
GenerateLetsEncrypt bool `json:"GenerateLetsEncrypt"`
|
||||
// Certificate is the certificate file path to use
|
||||
Certificate string `json:"certificate"`
|
||||
// Key is the path to the private key for the certificate
|
||||
|
|
Loading…
Reference in New Issue
Block a user