Malin / HaProxy-reverse-postfix-master.cf
0 likes
0 forks
2 files
Last active
1 | # from: from: https://serverfault.com/questions/922248/how-to-configure-postfix-behind-haproxy |
2 | # Exposed SMTP service (postscreen support is needed to support the proxy protocol [search postscreen_upstream_proxy_protocol in main.cf]) |
3 | smtp inet n - - - 1 postscreen |
4 | smtpd pass - - - - - smtpd |
Malin / Veeam-REPO-SSH-fix.sh
0 likes
0 forks
1 files
Last active
1 | # from: https://forums.veeam.com/veeam-backup-replication-f2/info-veeam-can-not-connect-to-openssh-8-8-t76832.html |
2 | # Add to /etc/ssh/sshd_config: |
3 | |
4 | HostkeyAlgorithms +ssh-rsa |
5 | PubkeyAcceptedAlgorithms +ssh-rsa |
Malin / default-dns.zone
0 likes
0 forks
1 files
Last active
1 | mallorca.hosting 3600 IN SOA ns1.nameservers.pm dns.nameservers.pm 2024022924 10800 3600 604800 3600 |
2 | mallorca.hosting 300 IN A 135.181.140.184 |
3 | mallorca.hosting 300 IN NS ns1.nameservers.pm |
4 | mallorca.hosting 300 IN NS ns2.nameservers.pm |
5 | www.mallorca.hosting 300 IN A 135.181.140.184 |
Malin / bookworm-sources.list
0 likes
0 forks
1 files
Last active
1 | # Bookworm Sources List |
2 | deb http://deb.debian.org/debian bookworm main |
3 | deb http://deb.debian.org/debian bookworm-updates main |
4 | deb http://deb.debian.org/debian-security bookworm-security main |
Malin / power-dns-install.sh
0 likes
0 forks
2 files
Last active
1 | apt update && apt install -y curl gpg tmux htop rsync |
2 | echo "deb [arch=amd64] http://repo.powerdns.com/debian bullseye-auth-46 main" > /etc/apt/sources.list.d/pdns.list |
3 | curl -fsSL https://repo.powerdns.com/FD380FBB-pub.asc | gpg --dearmor -o /etc/apt/trusted.gpg.d/pdns.gpg |
4 | apt update && apt install -y pdns-server pdns-backend-mysql mariadb-server mariadb-client |
5 | systemctl disable systemd-resolved.service |
6 | systemctl stop systemd-resolved.service |
7 | service mysql stop && service pdns stop |
8 | ssh-keygen -t ed25519 |
Malin / proxy-protocol-nginx.conf
0 likes
0 forks
1 files
Last active
1 | set_real_ip_from 104.16.0.0/12 |
2 | set_real_ip_from 172.64.0.0/13 |
3 | real_ip_header proxy_protocol; # proxy_protocol needed |
4 | real_ip_recursive on; |
Malin / install-proxmox.sh
0 likes
0 forks
1 files
Last active
1 | # install Proxmox over Debian 12 |
2 | |
3 | curl -o /etc/apt/trusted.gpg.d/proxmox-release-bookworm.gpg http://download.proxmox.com/debian/proxmox-release-bookworm.gpg |
4 | echo "deb http://download.proxmox.com/debian/pve bookworm pve-no-subscription" > /etc/apt/sources.list.d/pve-install-repo.list |
5 | apt update && apt full-upgrade -y && apt install proxmox-ve -y |
Malin / largest.sh
0 likes
0 forks
1 files
Last active
1 | # find and sort largest directories |
2 | |
3 | du -h /www --max-depth=1 | sort -rh |
Malin / qrh-custom.css
0 likes
0 forks
1 files
Last active
1 | .col-1 { max-width: 50%!important} |
2 | .col-2 { max-width: 50%!important} |
3 | |
4 | .woocommerce-page .cart-collaterals { |
5 | display: none; |
6 | } |
7 | |
8 | .child-category { |
9 | color: #9C9C9C; |
10 | font-family: 'Roboto', sans-serif; |