Last active
December 27, 2015 11:09
-
-
Save hara-y-u/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.
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
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; | |
} | |
} |
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
192.168.33.10 wheezy fjord_intern.wheezy |
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
# -*- 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