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
backend default { | |
.host = ""; | |
.port = "80"; | |
.connect_timeout = 300s; | |
.first_byte_timeout = 600s; | |
.between_bytes_timeout = 300s; | |
.max_connections = 512; | |
} | |
acl purge { |
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
-*- mode: ruby -*- | |
# vi: set ft=ruby : | |
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing! | |
VAGRANTFILE_API_VERSION = "2" | |
cluster = { | |
"node1" => { :ip => "192.168.33.50", :cpus => 1, :mem => 1024 }, | |
"node2" => { :ip => "192.168.33.51", :cpus => 1, :mem => 1024 }, | |
"node3" => { :ip => "192.168.33.52", :cpus => 1, :mem => 1024 }, |
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
[mysqld] | |
datadir=/var/lib/mysql | |
socket=/var/lib/mysql/mysql.sock | |
user=mysql | |
# Disabling symbolic-links is recommended to prevent assorted security risks | |
symbolic-links=0 | |
# Global Settings | |
thread_cache_size=4 |
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
ServerTokens OS | |
ServerRoot "/etc/httpd" | |
PidFile run/httpd.pid | |
Timeout 60 | |
KeepAlive On | |
MaxKeepAliveRequests 100 | |
KeepAliveTimeout 60 | |
<IfModule prefork.c> | |
StartServers 16 | |
MinSpareServers 10 |
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
ServerTokens OS | |
ServerRoot "/etc/httpd" | |
PidFile run/httpd.pid | |
Timeout 60 | |
KeepAlive Off | |
MaxKeepAliveRequests 100 | |
KeepAliveTimeout 15 | |
<IfModule prefork.c> | |
StartServers 8 | |
MinSpareServers 5 |
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/sh | |
# MongoDB backup script | |
# This script is licensed under GNU GPL version 2.0 or above | |
# It makes a folder under BACKUP folder and compress it into .tar.gz.file | |
# Using another script we will remove older backups later | |
# --------------------------------------------------------------------- | |
### System Setup ### | |
BACKUP="" |
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
user nginx; | |
worker_processes 2; | |
worker_rlimit_nofile 32768; | |
error_log /var/log/nginx/error.log; | |
#error_log /var/log/nginx/error.log notice; | |
#error_log /var/log/nginx/error.log info; | |
pid /var/run/nginx.pid; | |
events { | |
worker_connections 4096; | |
multi_accept 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
sudo curl -L https://toolbelt.treasuredata.com/sh/install-ubuntu-xenial-td-agent2.sh | sh config | |
sudo /usr/sbin/td-agent-gem install fluent-plugin-kv-parser | |
(edit config file, do backup first) | |
sudo cp /etc/td-agent/td-agent.conf /etc/td-agent/td-agent.conf.backup | |
echo " | |
<source> | |
@type tcp | |
tag kv_log # required |
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
# remove previous installed package | |
sudo apt-get remove --purge ansible | |
# install pip | |
wget https://bootstrap.pypa.io/get-pip.py && python get-pip.py --user | |
# install ansible | |
pip install ansible==2.5.0 --user | |
# update PATH |
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
##AWS::ApiGateway::Method Dependency | |
AWS::ACMPCA::Certificate | |
AWS::ACMPCA::Certificate Validity | |
AWS::ACMPCA::CertificateAuthority | |
AWS::ACMPCA::CertificateAuthority CrlConfiguration | |
AWS::ACMPCA::CertificateAuthority RevocationConfiguration | |
AWS::ACMPCA::CertificateAuthority Subject | |
AWS::ACMPCA::CertificateAuthorityActivation | |
AWS::AccessAnalyzer::Analyzer | |
AWS::AccessAnalyzer::Analyzer ArchiveRule |
OlderNewer