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
echo "archiving ypcr jail" | |
ezjail-admin stop ypcr | |
ezjail-admin archive -d /backup ypcr | |
ezjail-admin start ypcr | |
echo "ypcr jail archive complete" | |
echo "archiving ngam jail" | |
ezjail-admin stop ngam | |
ezjail-admin archive -d /backup ngam | |
ezjail-admin start ngam |
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
/** | |
* For developers: WordPress debugging mode. | |
* | |
* Change this to true to enable the display of notices during development. | |
* It is strongly recommended that plugin and theme developers use WP_DEBUG | |
* in their development environments. | |
* | |
* For information on other constants that can be used for debugging, | |
* visit the Codex. | |
* |
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
:: Set primary and alternate DNS for IPv4 on Windows Server 2000/2003/2008 & | |
:: Windows XP/Vista/7/8/10 | |
@ECHO OFF | |
SETLOCAL EnableDelayedExpansion | |
SET adapterName= | |
FOR /F "tokens=* delims=:" %%a IN ('IPCONFIG ^| FIND /I "ETHERNET ADAPTER"') DO ( | |
SET adapterName=%%a |
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
upstream ypcr { | |
server 192.168.4.120:8114; | |
# server 192.168.4.116:8686; | |
# server 192.168.4.112; | |
} | |
server { | |
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 /helpdesk { | |
return 302 helpdesk.example.com; | |
} |
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
upstream integrity { | |
server 192.168.4.224:8486; | |
} | |
server { | |
listen 80; |
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
# pkg upgrade | |
Updating FreeBSD repository catalogue... | |
pkg: repository meta /var/db/pkg/FreeBSD.meta has wrong version 2 | |
pkg: Repository FreeBSD load error: meta cannot be loaded No error: 0 | |
[integrity] Fetching meta.txz: 100% 916 B 0.9kB/s 00:01 | |
pkg: repository meta /var/db/pkg/FreeBSD.meta has wrong version 2 | |
repository FreeBSD has no meta file, using default settings | |
[integrity] Fetching packagesite.txz: 100% 6 MiB 932.6kB/s 00:07 | |
pkg: repository meta /var/db/pkg/FreeBSD.meta has wrong version 2 | |
pkg: Repository FreeBSD load error: meta cannot be loaded No error: 0 |
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/local/bin/certbot renew --quiet --post-hook "apachectl graceful |
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
ServerName domain.com | |
ServerAlias www.domain.com | |
DocumentRoot /usr/local/www/domain | |
Redirect permanent / https://www.domain.com/ | |
ServerAdmin youremail@emailser.com | |
# Directory for the file stored | |
DocumentRoot "/usr/local/www/domain" | |
#Domain | |
ServerName domain.com |
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
upstream roane { | |
server 192.168.4.110:8485; | |
} | |
server { | |
listen 80; | |
server_name www.roanesrigging.com roanesrigging.com; | |
error_log /var/log/nginx/nginxreports.log warn; |
NewerOlder