Skip to content

Commit d68dc48

Browse files
committed
vagrant: install and run nginx.
1 parent d9157ba commit d68dc48

File tree

4 files changed

+8
-1
lines changed

4 files changed

+8
-1
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,4 @@ src/main/javascript/*/*.min.js
2222
.vagrant/
2323
vagrant/provisioning/vagrant.retry
2424
vagrant/provisioning/roles/php-coder.oraclejdk/
25+
vagrant/provisioning/roles/php-coder.nginx/

vagrant/Vagrantfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Vagrant.configure(2) do |config|
2929
# Create a forwarded port mapping which allows access to a specific port
3030
# within the machine from a port on the host machine. In the example below,
3131
# accessing "localhost:8080" will access port 80 on the guest machine.
32-
# config.vm.network "forwarded_port", guest: 80, host: 8080
32+
config.vm.network "forwarded_port", guest: 80, host: 8080
3333

3434
# Provider-specific configuration so you can fine-tune various
3535
# backing providers for Vagrant. These expose provider-specific options.

vagrant/provisioning/vagrant.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,7 @@
3232
- role: mystamps-app
3333
become: yes
3434
become_method: sudo
35+
36+
- role: php-coder.nginx
37+
become: yes
38+
become_method: sudo

vagrant/requirements.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
- src: php-coder.oraclejdk
22
version: '1.3'
3+
- src: php-coder.nginx
4+
version: '1.1'

0 commit comments

Comments
 (0)