Commit graph

1492 commits

Author SHA1 Message Date
dpeca
6a6cfe969a
Introducing ONLY_ONE_FTP_BACKUP variable 2019-05-10 23:22:31 +02:00
Skull Writter
f492c1ee2a
correcting wildcat
check if alias is the letsencrypt wildcard domain, if not, make the normal checks
2019-04-23 14:11:31 +00:00
moucho
0713570b87 Fix Let's Encrypt for IDN domains 2019-04-21 18:28:34 +02:00
Serghey Rodin
82b635f8da Print the file name for each match 2019-04-18 15:03:03 +03:00
Serghey Rodin
25706abfb3 replaced rdomain with domain variable 2019-04-17 23:28:40 +03:00
Luka Paunović
f0c328375f
Update v-change-sys-service-config 2019-04-11 19:02:36 +02:00
Luka Paunović
3cbaab38bf
Fix for issue #1286
Fix for issue #1286
2019-04-11 19:00:56 +02:00
Steen Schütt
a981ddb468
Prevent v-backup-user from excluding folders named logs further down the tree
This change will fix issues with files like `public_html/wp-content/plugins/sitepress-multilingual-cms/classes/logs/interface-wpml-log.php` from being excluded, but still exclude the intended main logs directory. Fixes a semi-widespread issue with VestaCP and WPML.
2019-04-10 14:42:10 +02:00
dpeca
9400592892
schedule restore nice and ionice 2019-04-05 00:17:00 +02:00
dpeca
f969909866
schedule backup nice and ionice 2019-04-05 00:15:43 +02:00
Olgerdas
a420465b39
Remove \n from dkim txt output
Some DNS providers (like cloudflare) do not allow in dkim txt record \n char. Fix is removing new line symbols (\n).
2019-03-27 19:35:10 +02:00
dpeca
2210f52b7c
Include MAX_DBUSER_LEN in v-list-sys-config 2019-03-22 01:25:19 +01:00
pablobae
1f40804735 Update v-update-firewall
Check sshcustom port  is not needed anymore, because after merging pull 1819, the rules file already contains the ssh port correctly (it's not hardcoded anymore.

Also, if these lines are not removed, we have change ssh port, and we try to add a new rule with port 22 (v-add-firewall-rule DROP 0.0.0.0/0 22 tcp ssh) , these lines will change port 22 to current ssh port on rules.conf file, and we will be blocked.
2019-03-14 16:07:44 +01:00
Serghey Rodin
180d910131 inverted trigger condition 2019-03-14 14:58:19 +02:00
Serghey Rodin
8edf965375 backend: user domain vesta ssl certificate support 2019-03-14 00:44:06 +02:00
Serghey Rodin
c1b775443d added scripts to copy web domain ssl to vesta and exim 2019-03-03 23:25:16 +02:00
dpeca
9689bc144d
Larger LA graph 2019-03-01 14:34:00 +01:00
Serghey Rodin
c5cff5bcd6 Merge branch 'master' of github.com:serghey-rodin/vesta 2019-02-28 23:47:18 +02:00
Serghey Rodin
a7b54d6000 Function to search avaiable SSL certificates that could be used as main cert 2019-02-28 23:47:07 +02:00
Anton Reutov
66473a41d9
Merge pull request #1819 from pablobae/pablobae-patch1
Update v-add-firewall-chain getting ssh port from ssh config file (not hardcoded)
2019-02-28 23:02:59 +03:00
Anton Reutov
ba6491b23f
Merge pull request #1815 from mdandidarmawan/master
Fixing Typo error on Lets Encrypt validation
2019-02-25 17:21:15 +03:00
dpeca
0c387388cb
v-restore-user create empty tmp/ 2019-02-15 02:15:16 +01:00
dpeca
f4749743ce
Do not backup tmp folder 2019-02-15 01:49:12 +01:00
dpeca
82192a001d
Allow admins to run custom script after SSL is put to any domain 2019-02-14 18:56:16 +01:00
dpeca
d15e103704
Allow admins to run custom script after SSL is put to any domain
Useful if you have separated SSLs for each IP address.

If admin add to vesta.conf this:
UPDATE_SSL_SCRIPT='/usr/local/bin/update_ssl_script.sh'
that script will be called after each domain get new SSL or renew old SSL.

Then admin can write custom script that will, for example, copy new SSL to some file that is needed for dovecot or exim, for example...
Passed parameters are $user and $domain ($1 and $2), so custom script can check what domain got new SSL, and then to run custom task...
2019-02-14 18:29:56 +01:00
pablobae
d334ddc501
Update v-add-firewall-chain
Obtains the SSH port from the service configuration file (originally it was hardcoded). This allow the correct creation of ssh chain when this service has a custom port.
2019-02-07 16:49:43 +01:00
Dandi Darmawan
c1fc0208f7
Fixing Typo
check_result $E_CONNECT "Let's Encrypt vvalidation status $status"  > check_result $E_CONNECT "Let's Encrypt validation status $status"
2019-01-24 18:16:01 +07:00
myvesta
fcbb523c05
Added ionice to backup 2019-01-11 13:59:15 +01:00
myvesta
5259f53dd8
Reseting i_am_in_backup_all_user 2019-01-11 00:30:47 +01:00
myvesta
38f5b16019
Log mysqlrepair 2019-01-11 00:13:08 +01:00
myvesta
937efa2054
nice -n 19 for backups 2019-01-11 00:00:36 +01:00
dpeca
0d85c88d18
Bringing back Better handling of calm-down routine while LE renewing
Accidentally overwritten in f8b4d42b74 commit
Original commit: 3d8b6a87a7

Calming down is because https://github.com/serghey-rodin/vesta/issues/1193 issue
2018-12-27 21:10:17 +01:00
Serghey Rodin
f8b4d42b74 Let's Encrypt v2 with wildcard support 2018-12-26 12:54:33 +02:00
Marcos
635107b804 Merge branch 'backups' of github.com:moucho/vesta into backups 2018-12-24 17:51:15 +01:00
Marcos
49f69ce60d Fix conflicts 2018-12-24 17:51:07 +01:00
Marcos
daa33140f4
Merge branch 'master' into backups 2018-12-24 17:46:08 +01:00
Marcos
73cb7667cd Fix conflict 2018-12-24 17:44:23 +01:00
myvesta
fd066fa94f
Merge pull request #33 from serghey-rodin/master
Syntax error fix in v-add-letsencrypt-user
2018-12-21 17:32:45 +01:00
dpeca
4327a3d1bc
Syntax error fix in v-add-letsencrypt-user 2018-12-21 17:28:12 +01:00
dpeca
f1bbd788aa
Sleep 25 before restart nginx 2018-12-14 16:39:15 +01:00
dpeca
98b05f1ba2
Sleep 120 sec while LE renewing 2018-12-14 15:55:35 +01:00
dpeca
51d8870ec1
Update v-restart-proxy 2018-12-14 15:54:24 +01:00
dpeca
3a7d7158ca
Temporary fix for CSR 2018-12-14 15:42:32 +01:00
myvesta
60dcc89d32
Fix for sleep while LE renewing 2018-12-10 14:35:20 +01:00
myvesta
7d6fcbd634
Merge pull request #32 from serghey-rodin/master
update from master
2018-12-10 14:32:33 +01:00
dpeca
3d8b6a87a7
Better handling of calm-down routine while LE renewing
Sleep is because https://github.com/serghey-rodin/vesta/issues/1193
2018-12-10 14:31:10 +01:00
dpeca
58c6ca95b1
Fix for suspended domain checking while LE renewing
Logic should be inversed...
If you grep for suspended=no, then variable is NOT empty if it's NOT suspended
Which means it's empty only if it's suspended.
So we must grep for suspended=yes if we consider not-empty result as suspended domain.
@skullwritter 

This bug totally brakes LE renewing :)
2018-12-10 14:15:46 +01:00
myvesta
a14e4a6118
Merge pull request #31 from serghey-rodin/master
update from master
2018-12-10 11:02:30 +01:00
Serghey Rodin
320455f7c9 ACME v2 support - list user/ typo 2018-12-04 16:30:42 +02:00
Serghey Rodin
d2d399676f ACME v2 support - list user 2018-12-04 16:27:22 +02:00