Updated the dev environment's hostname to ponyfm-dev.poni.

This commit is contained in:
Peter Deltchev 2015-09-19 20:17:27 -07:00
parent 1aa0b5f9d7
commit 289f652f6e
2 changed files with 3 additions and 3 deletions

4
Vagrantfile vendored
View file

@ -10,9 +10,9 @@ Vagrant.configure("2") do |config|
end end
config.vm.define 'default' do |node| config.vm.define 'default' do |node|
node.vm.hostname = 'pony.fm.local' node.vm.hostname = 'ponyfm-dev.poni'
node.vm.network :private_network, ip: "192.168.33.11" node.vm.network :private_network, ip: "192.168.33.11"
node.hostmanager.aliases = %w(api.pony.fm.local) node.hostmanager.aliases = %w(api.ponyfm-dev.poni)
end end
config.vm.synced_folder ".", "/vagrant", type: "nfs" config.vm.synced_folder ".", "/vagrant", type: "nfs"

View file

@ -8,7 +8,7 @@ server {
gzip_types text/plain text/css application/x-javascript text/xml application/xml application/xml+rss text/javascript image/x-icon image/bmp application/json; gzip_types text/plain text/css application/x-javascript text/xml application/xml application/xml+rss text/javascript image/x-icon image/bmp application/json;
gzip_vary on; gzip_vary on;
server_name pony.fm.local api.pony.fm.local; server_name ponyfm-dev.poni api.ponyfm-dev.poni;
access_log /vagrant/storage/logs/system/nginx-access.log; access_log /vagrant/storage/logs/system/nginx-access.log;
error_log /vagrant/storage/logs/system/nginx-error.log; error_log /vagrant/storage/logs/system/nginx-error.log;
root /vagrant/public; root /vagrant/public;