cjmling / findings

Notes on stuff i finds worth keeping for quick reference later on.
2 stars 0 forks source link

Chef access localhost in browser and forward port #226

Open cjmling opened 4 years ago

cjmling commented 4 years ago

We can do this by editing Vagrantfile.rb and uncomment the line about config.vm.network "forward port"

Tutorial at minute around 7 : https://www.udemy.com/course/chef-fundamentals-a-recipe-for-automating-infrastructure/learn/lecture/6245440#questions

In tutorial he had apache server setup via cookbook , so it might not worked as expected if you didn't had that setup. Watch earlier vids for apache setup.

cjmling commented 4 years ago

Note: after editing Vagrantfile, you won't see the changes right away. You need to run vagrant reload