mirror of
https://gitlab.com/octospacc/Configs.git
synced 2025-06-05 21:59:36 +02:00
Auto-Backup $'Thu Sep 05 2024 01:57:43 GMT+0200 (Central European Summer Time)'
This commit is contained in:
@@ -176,7 +176,7 @@ Jobs.Cloud_ArticlesBackupPrivate = async () => {
|
|||||||
Jobs.Cloud_SpaccBBS = async () => {
|
Jobs.Cloud_SpaccBBS = async () => {
|
||||||
await FolderGoCopyForCloud('SpaccBBS', 'SpaccBBS-Backup-phpBB-2023');
|
await FolderGoCopyForCloud('SpaccBBS', 'SpaccBBS-Backup-phpBB-2023');
|
||||||
await $`cp ../SpaccBBS/Db.Latest.sql.tar.xz ./Db.sql.tar.xz`;
|
await $`cp ../SpaccBBS/Db.Latest.sql.tar.xz ./Db.sql.tar.xz`;
|
||||||
for (let File of ['Db.sql.tar.xz', 'SpaccBBS/config.php', 'SpaccBBS/arrowchat/includes/config.php']) {
|
for (let File of ['Db.sql.tar.xz', 'SpaccBBS/old/config.php', 'SpaccBBS/old/arrowchat/includes/config.php']) {
|
||||||
await ccencryptNow(`./${File}`, Secrets.BackupKey_Git_SpaccBBS);
|
await ccencryptNow(`./${File}`, Secrets.BackupKey_Git_SpaccBBS);
|
||||||
};
|
};
|
||||||
await GitPullPush();
|
await GitPullPush();
|
||||||
|
@@ -15,6 +15,8 @@ server {
|
|||||||
proxy_set_header X-Forwarded-Proto $scheme;
|
proxy_set_header X-Forwarded-Proto $scheme;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade $http_upgrade;
|
||||||
proxy_set_header Connection "upgrade";
|
proxy_set_header Connection "upgrade";
|
||||||
|
proxy_hide_header Content-Security-Policy;
|
||||||
|
proxy_hide_header X-Frame-Options;
|
||||||
}
|
}
|
||||||
location /octtkb/ {
|
location /octtkb/ {
|
||||||
resolver 9.9.9.9;
|
resolver 9.9.9.9;
|
||||||
|
Reference in New Issue
Block a user