This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| * go to whm -> exim configuration manager | |
| * choose advanced editor | |
| * search spamd & replace with this: | |
| spamd_address = 127.0.0.1 11333 variant=rspamd | |
| set smtputf8_advertise_hosts = * | |
| * find and disable greylisting block | |
| * find and disable acl_smtp_data:default_check_message_pre |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| # Installs Docker on Debian Linux | |
| echo "Installing Docker..." | |
| set -e | |
| # Install distribution packages. | |
| sudo apt-get update | |
| sudo apt-get -qq install ca-certificates curl gnupg lsb-release |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| # Installs Docker on Ubuntu Linux | |
| echo "Installing Docker..." | |
| set -e | |
| # Install distribution packages. | |
| sudo apt-get update | |
| sudo apt-get -qq install ca-certificates curl gnupg lsb-release |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| "use client"; | |
| /* eslint-disable @next/next/no-img-element */ | |
| import Link from "next/link"; | |
| import { useState, useEffect } from 'react'; | |
| import { | |
| AppBskyFeedDefs, | |
| AppBskyFeedPost, | |
| type AppBskyFeedGetPostThread, | |
| } from "@atproto/api"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| server { | |
| listen 80 default_server; | |
| server_name readydedis.com www.readydedis.com; | |
| return 301 https://readydedis.com$request_uri; | |
| } | |
| # HTTPS server | |
| # | |
| server { | |
| listen 443; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| location ~ /clients/admin/(client!\.php|client/(.*)|table/(.*)|search!\.php|search/(.*)|apps|billing|setup|user|services|addons|domains|utilitiesemailmarketer!\.php|utilities/(.*)|logs|help!\.php|help/license|modules|image/(recent|upload)|validation_com/(.*))/?(.*)$ { | |
| rewrite ^/(.*)$ /clients/admin/index.php?rp=/admin/$1/$2; | |
| } | |
| location ~ /clients/(images/em|invoice|domain|login|invite|password|account|store|download|knowledgebase|announcements|clientarea/ssl-certificates|user/(verification|accounts|profile|password|security|verify)|cart/(domain/renew)|domain/pricing|cart/order|images/kb)/?(.*)$ { | |
| rewrite ^/(.*)$ /clients/index.php?rp=/$1/$2; | |
| } | |
| location ~ /clients/auth/manage/client/links/?(.*)$ { | |
| rewrite ^/(.*)$ /clients/index.php?rp=/auth/manage/client/links$1; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * Clean WHMCS Logs | |
| * | |
| * Based on the script by @linux4me at: | |
| * https://whmcs.community/topic/289637-database-cleanup-operations-tbllog_register-and-tblactivitylog/ | |
| * | |
| * This script deletes records from the WHMCS `tbllog_register` table that are older than the specified date. | |
| * This is useful for keeping the database size down because WHMCS adds records every 5 minutes when the cron runs. | |
| * |
NewerOlder