This file contains 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
apiVersion: traefik.containo.us/v1alpha1 | |
kind: IngressRoute | |
metadata: | |
namespace: apps | |
name: example-ingress | |
spec: | |
entryPoints: | |
- websecure | |
routes: | |
- match: Host(`your-own-awesome-domain.com`) |
This file contains 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
#!/bin/bash | |
# | |
#Make root the owner of this file and execute in your .bashrc with sudo ./fix_hosts_google_shell.sh | |
#Make sure sudo uses passwordless auth | |
# | |
if grep -q "googleapis.com" /etc/hosts | |
then | |
echo "Googleapis detected in /etc/hosts, skipping bug workaround for connectivity" | |
exit 1 | |
#Exists so exit script |
This file contains 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
{ | |
"foods": { | |
"berries": | |
{ | |
"player_inventory": 600, | |
"tamed_dino_or_trough": 2400, | |
"preserving_bin": 6600, | |
"refrigerator": 60000, | |
"crop_plot": 120000 | |
}, |
This file contains 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_name www.servername1.tld servername1.tld; | |
access_log /var/log/nginx/www.servername1.tld_access.log; | |
error_log /var/log/nginx/www.servername1.tld_error.log; | |
location / { | |
proxy_pass https://YOUR-IP-ADDRESS-OF-BACKEND; | |
proxy_set_header Host $host; | |
proxy_ssl_name $host; | |
proxy_ssl_verify off; | |
proxy_ssl_server_name on; |
This file contains 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
#!/bin/bash | |
echo "********************************************************" | |
echo "BEGINNING PING TO $1" | |
echo "********************************************************" | |
echo "Command: ping -c 10 $1" | |
ping -c 10 $1 | |
wait | |
echo "********************************************************" | |
echo "BEGINNING NSLOOKUP TO $1" | |
echo "********************************************************" |
This file contains 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
#!/bin/bash | |
IPT="/sbin/iptables" | |
IPV6=true | |
IPTV6="/sbin/ip6tables" | |
# Your DNS servers you use: cat /etc/resolv.conf | |
# IPv6 DNS not supported in this script | |
DNS_SERVER="67.207.67.3 67.207.67.2" | |
# Allow connections to this package servers |