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
# Set non-interactive mode | |
export DEBIAN_FRONTEND=noninteractive | |
# Update package mirrors and update base system | |
apt-get update | |
apt-get -y dist-upgrade | |
# Install packages | |
apt-get -y install git tree curl |
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 : | |
Vagrant.configure(2) do |config| | |
config.vm.box = "robin/trusty64" | |
config.vm.network "forwarded_port", guest: 80, host: 8080 | |
config.vm.provision "shell", inline: $shell | |
if Vagrant.has_plugin?("vagrant-vbguest") then | |
config.vbguest.auto_update = false |
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
# This file describes the network interfaces available on your system | |
# and how to activate them. For more information, see interfaces(5). | |
# The loopback network interface | |
auto lo | |
iface lo inet loopback | |
# The primary network interface | |
auto eth0 | |
iface eth0 inet dhcp |
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 : | |
Vagrant.configure(2) do |config| | |
config.vm.box = "robin/trusty64" | |
config.vm.hostname = "trusty64" | |
config.vm.provision "shell", inline: $shell | |
if Vagrant.has_plugin?("vagrant-vbguest") then | |
config.vbguest.auto_update = false | |
end |
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 { | |
## | |
# Basic config | |
## | |
listen 80; | |
listen 443 ssl spdy; | |
server_name _; |
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 : | |
Vagrant.configure(2) do |config| | |
config.vm.box = "robin/trusty64" | |
config.vm.hostname = "docker" | |
config.vm.provision "shell", inline: $shell | |
if Vagrant.has_plugin?("vagrant-vbguest") then |
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 { | |
listen 80 default_server; | |
root /var/www/html/; | |
index index.html index.htm; | |
server_name _; | |
location / { | |
try_files $uri $uri/ =404; | |
} |
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
proxy_cache_bypass $cookie_nocache $arg_nocache$arg_comment; # Defines conditions under which the response will not be taken from a cache. If at least one value of the string parameters is not empty and is not equal to “0” then the response will not be taken from the cache. | |
proxy_cache_bypass $http_pragma $http_authorization; | |
proxy_cache_key $scheme$proxy_host$request_uri; # Defines a key for caching. | |
proxy_cache_lock on; # When enabled, only one request at a time will be allowed to populate a new cache element identified according to the proxy_cache_key directive by passing a request to a proxied server. | |
proxy_cache_methods GET HEAD; # If the client request method is listed in this directive then the response will be cached. “GET” and “HEAD” methods are always added to the list, though it is recommended to specify them explicitly. | |
proxy_cache_min_uses 1; # Sets the number of requests after which the response will be cached. |
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
acl | |
at | |
attr | |
audit-libs | |
authconfig | |
basesystem | |
bash | |
bc | |
bind-libs | |
bind-utils |
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
acl | |
acpid | |
alsa-lib | |
at | |
attr | |
audit | |
audit-libs | |
authconfig | |
autogen-libopts | |
aws-cfn-bootstrap |
OlderNewer