mirror of
https://gitlab.com/octospacc/Configs.git
synced 2025-06-05 21:59:36 +02:00
.
This commit is contained in:
@@ -28,7 +28,7 @@ T.m = T.getMinutes();
|
||||
T.is = (question) => {
|
||||
let allTrue = true;
|
||||
for (let predicate in question) {
|
||||
let word = predicate.replace('_', '');
|
||||
let word = predicate.replaceAll('_', '');
|
||||
let oracle = {
|
||||
//Y: T.Y,
|
||||
M: T.M,
|
||||
@@ -52,10 +52,10 @@ T.is = (question) => {
|
||||
|
||||
///////////////////////////////////////
|
||||
|
||||
T.is({ h:'03', m_:'05' })
|
||||
T.is({ _D_:'2', h:'03', m_:'10' })
|
||||
&& Work('Backup', ()=>{ $`zx /Main/Server/Scripts/BackupAll.zx.mjs` });
|
||||
|
||||
T.is({ _D_:'9', h:'04', m_:'05' })
|
||||
T.is({ _D_:'9', h:'02', m_:'30' })
|
||||
&& Work('Certs', ()=>{ $`sh /Main/Server/Scripts/RenewCerts.sh` });
|
||||
|
||||
///////////////////////////////////////
|
||||
|
@@ -1,21 +1,22 @@
|
||||
server {
|
||||
listen 443 ssl;
|
||||
server_name spacccloud.octt.eu.org;
|
||||
ssl_certificate /etc/letsencrypt/live/spacccloud.octt.eu.org/fullchain.pem;
|
||||
ssl_certificate_key /etc/letsencrypt/live/spacccloud.octt.eu.org/privkey.pem;
|
||||
ssl_prefer_server_ciphers on;
|
||||
location / {
|
||||
proxy_http_version 1.1;
|
||||
proxy_pass http://localhost:8560;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection "upgrade";
|
||||
}
|
||||
}
|
||||
#server {
|
||||
# listen 443 ssl;
|
||||
# server_name spacccloud.octt.eu.org;
|
||||
# ssl_certificate /etc/letsencrypt/live/spacccloud.octt.eu.org/fullchain.pem;
|
||||
# ssl_certificate_key /etc/letsencrypt/live/spacccloud.octt.eu.org/privkey.pem;
|
||||
# ssl_prefer_server_ciphers on;
|
||||
# location / {
|
||||
# proxy_http_version 1.1;
|
||||
# proxy_pass http://localhost:8560;
|
||||
# proxy_set_header X-Real-IP $remote_addr;
|
||||
# proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
# proxy_set_header X-Forwarded-Proto $scheme;
|
||||
# proxy_set_header Upgrade $http_upgrade;
|
||||
# proxy_set_header Connection "upgrade";
|
||||
# }
|
||||
#}
|
||||
|
||||
server {
|
||||
listen 80;
|
||||
listen 443 ssl;
|
||||
server_name spacccloud-wfm.octt.eu.org;
|
||||
ssl_certificate /etc/letsencrypt/live/spacccloud-wfm.octt.eu.org/fullchain.pem;
|
||||
|
@@ -6,7 +6,7 @@ server {
|
||||
ssl_certificate_key /etc/letsencrypt/live/private-analytics-not-for-public-use.octt.eu.org/privkey.pem;
|
||||
ssl_prefer_server_ciphers on;
|
||||
location /sitoctt/ {
|
||||
resolver 10.0.3.1;
|
||||
resolver 9.9.9.9;
|
||||
proxy_http_version 1.1;
|
||||
proxy_pass https://sitoctt.goatcounter.com/;
|
||||
proxy_set_header Host "sitoctt.goatcounter.com";
|
||||
@@ -17,7 +17,7 @@ server {
|
||||
proxy_set_header Connection "upgrade";
|
||||
}
|
||||
location /octtkb/ {
|
||||
resolver 10.0.3.1;
|
||||
resolver 9.9.9.9;
|
||||
proxy_http_version 1.1;
|
||||
proxy_pass https://octtkb.goatcounter.com/;
|
||||
proxy_set_header Host "octtkb.goatcounter.com";
|
||||
|
0
Server/Root/etc/nginx/sites-available/articles.wallabag.old
Normal file → Executable file
0
Server/Root/etc/nginx/sites-available/articles.wallabag.old
Normal file → Executable file
0
Server/Root/etc/nginx/sites-available/epic.octt.eu.org.conf.old
Normal file → Executable file
0
Server/Root/etc/nginx/sites-available/epic.octt.eu.org.conf.old
Normal file → Executable file
0
Server/Root/etc/nginx/sites-available/fediii.conf
Normal file → Executable file
0
Server/Root/etc/nginx/sites-available/fediii.conf
Normal file → Executable file
0
Server/Root/etc/nginx/sites-available/fren.conf
Normal file → Executable file
0
Server/Root/etc/nginx/sites-available/fren.conf
Normal file → Executable file
0
Server/Root/etc/nginx/sites-available/godo.octt.eu.org.conf.old
Normal file → Executable file
0
Server/Root/etc/nginx/sites-available/godo.octt.eu.org.conf.old
Normal file → Executable file
0
Server/Root/etc/nginx/sites-available/invidious.conf
Normal file → Executable file
0
Server/Root/etc/nginx/sites-available/invidious.conf
Normal file → Executable file
0
Server/Root/etc/nginx/sites-available/librex.conf
Normal file → Executable file
0
Server/Root/etc/nginx/sites-available/librex.conf
Normal file → Executable file
0
Server/Root/etc/nginx/sites-available/miss.octt.eu.org.conf.old
Normal file → Executable file
0
Server/Root/etc/nginx/sites-available/miss.octt.eu.org.conf.old
Normal file → Executable file
@@ -117,12 +117,13 @@ server {
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
sub_filter '<a href="/" id="title-a"' '<a style="position: absolute;" href="/Drive/">/Drive/</a><a style="margin-left: 3em;" href="/Drive/Telegram/" id="title-a"';
|
||||
sub_filter '<a href="/" id="title-a"' '<a style="/*position: absolute; margin-top: 0.25em;*/ word-break: keep-all;line-break: strict;" href="/Drive/">/Drive/</a><a style="/*margin-left: 3em;*/" href="/Drive/Telegram/" id="title-a"';
|
||||
sub_filter '<link href="/' '<link href="/Drive/Telegram/';
|
||||
sub_filter '<a href="/' '<a href="/Drive/Telegram/';
|
||||
sub_filter '<img src="/' '<img src="/Drive/Telegram/';
|
||||
sub_filter '<source src="/' '<source src="/Drive/Telegram/';
|
||||
sub_filter '<script src="/' '<script src="/Drive/Telegram/';
|
||||
sub_filter '<meta property="og:image" content="/' '<meta property="og:image" content="https://hlb0.octt.eu.org/Drive/Telegram/';
|
||||
sub_filter_once off;
|
||||
}
|
||||
|
||||
|
0
Server/Root/etc/nginx/sites-available/wordpress.conf
Normal file → Executable file
0
Server/Root/etc/nginx/sites-available/wordpress.conf
Normal file → Executable file
0
Server/Root/etc/systemd/system/CringeInoltro.service
Normal file → Executable file
0
Server/Root/etc/systemd/system/CringeInoltro.service
Normal file → Executable file
0
Server/Root/etc/systemd/system/FreshRSS-actualize.service
Normal file → Executable file
0
Server/Root/etc/systemd/system/FreshRSS-actualize.service
Normal file → Executable file
0
Server/Root/etc/systemd/system/FreshRSS-actualize.timer
Normal file → Executable file
0
Server/Root/etc/systemd/system/FreshRSS-actualize.timer
Normal file → Executable file
0
Server/Root/etc/systemd/system/OneShot.AfterBoot.service
Normal file → Executable file
0
Server/Root/etc/systemd/system/OneShot.AfterBoot.service
Normal file → Executable file
0
Server/Root/etc/systemd/system/Shiori.service
Normal file → Executable file
0
Server/Root/etc/systemd/system/Shiori.service
Normal file → Executable file
0
Server/Root/etc/systemd/system/ShioriFeed.service
Normal file → Executable file
0
Server/Root/etc/systemd/system/ShioriFeed.service
Normal file → Executable file
0
Server/Root/etc/systemd/system/TelegramIndex.service
Normal file → Executable file
0
Server/Root/etc/systemd/system/TelegramIndex.service
Normal file → Executable file
11
Server/Root/etc/systemd/system/VmLubuntu2022NonProxied.service
Executable file
11
Server/Root/etc/systemd/system/VmLubuntu2022NonProxied.service
Executable file
@@ -0,0 +1,11 @@
|
||||
[Unit]
|
||||
Description=Lubuntu 2022 Non-Proxied VM
|
||||
After=network.target
|
||||
[Service]
|
||||
Type=simple
|
||||
Restart=always
|
||||
RestartSec=10
|
||||
User=root
|
||||
ExecStart=/bin/sh -c /Main/Server/VMs/Lubuntu2022NonProxied.sh
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
4
Server/Root/etc/systemd/system/WebFileManager.service
Normal file → Executable file
4
Server/Root/etc/systemd/system/WebFileManager.service
Normal file → Executable file
@@ -5,8 +5,8 @@ After=network.target
|
||||
User=root
|
||||
Type=exec
|
||||
ExecStart=/usr/local/bin/filebrowser -a 0.0.0.0 -p 7580 -r /
|
||||
WorkingDirectory=/Server/SpaccCloud
|
||||
WorkingDirectory=/Main/Server/SpaccCloud
|
||||
Restart=always
|
||||
RestartSec=10
|
||||
RestartSec=15
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
|
0
Server/Root/etc/systemd/system/WinDog.service
Normal file → Executable file
0
Server/Root/etc/systemd/system/WinDog.service
Normal file → Executable file
0
Server/Root/etc/systemd/system/bittorrentd.service
Normal file → Executable file
0
Server/Root/etc/systemd/system/bittorrentd.service
Normal file → Executable file
0
Server/Root/etc/systemd/system/ncshell.service
Normal file → Executable file
0
Server/Root/etc/systemd/system/ncshell.service
Normal file → Executable file
Reference in New Issue
Block a user