Skip to content

Instantly share code, notes, and snippets.

@yukihr
Last active December 27, 2015 11:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yukihr/7316472 to your computer and use it in GitHub Desktop.
Save yukihr/7316472 to your computer and use it in GitHub Desktop.
Conf file for hosting yukihr.github.io/fjord_intern on Debian wheezy on VirtualBox with nginx.
server {
listen 80;
root /home/vagrant/proj/fjord_intern/;
index index.html index.htm;
server_name fjord_intern.wheezy;
location / {
try_files $uri $uri/ =404;
}
}
192.168.33.10 wheezy fjord_intern.wheezy
# -*- mode: ruby -*-
# vi: set ft=ruby :
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.box = "wheezy"
# Create a private network, which allows host-only access to the machine
# using a specific IP.
config.vm.network :private_network, ip: "192.168.33.10"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment