mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 06:53:15 +00:00
Upgrade php from 5.4.* to 5.5.*
This commit is contained in:
9
resources/vagrant/vms/phraseanet-php55-nginx/puphpet/puppet/modules/nginx/tests/init.pp
vendored
Normal file
9
resources/vagrant/vms/phraseanet-php55-nginx/puphpet/puppet/modules/nginx/tests/init.pp
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
# The notify before should always come BEFORE all resources
|
||||
# managed by the nginx class
|
||||
# and the notify last should always come AFTER all resources
|
||||
# managed by the nginx class.
|
||||
node default {
|
||||
notify { 'before': }
|
||||
-> class { 'nginx': }
|
||||
-> notify { 'last': }
|
||||
}
|
@@ -0,0 +1,8 @@
|
||||
include nginx
|
||||
|
||||
nginx::resource::location { 'www.test.com-alias':
|
||||
ensure => present,
|
||||
location => '/some/url',
|
||||
location_alias => '/new/url/',
|
||||
vhost => 'www.test.com',
|
||||
}
|
10
resources/vagrant/vms/phraseanet-php55-nginx/puphpet/puppet/modules/nginx/tests/upstream.pp
vendored
Normal file
10
resources/vagrant/vms/phraseanet-php55-nginx/puphpet/puppet/modules/nginx/tests/upstream.pp
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
include nginx
|
||||
|
||||
nginx::resource::upstream { 'proxypass':
|
||||
ensure => present,
|
||||
members => [
|
||||
'localhost:3000',
|
||||
'localhost:3001',
|
||||
'localhost:3002',
|
||||
],
|
||||
}
|
16
resources/vagrant/vms/phraseanet-php55-nginx/puphpet/puppet/modules/nginx/tests/vhost.pp
vendored
Normal file
16
resources/vagrant/vms/phraseanet-php55-nginx/puphpet/puppet/modules/nginx/tests/vhost.pp
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
include nginx
|
||||
|
||||
nginx::resource::vhost { 'test.local test':
|
||||
ensure => present,
|
||||
ipv6_enable => true,
|
||||
proxy => 'http://proxypass',
|
||||
}
|
||||
|
||||
nginx::resource::vhost { 'test.local:8080':
|
||||
ensure => present,
|
||||
listen_port => 8080,
|
||||
server_name => ['test.local test'],
|
||||
ipv6_enable => true,
|
||||
proxy => 'http://proxypass',
|
||||
}
|
||||
|
17
resources/vagrant/vms/phraseanet-php55-nginx/puphpet/puppet/modules/nginx/tests/vhost_ssl.pp
vendored
Normal file
17
resources/vagrant/vms/phraseanet-php55-nginx/puphpet/puppet/modules/nginx/tests/vhost_ssl.pp
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
include nginx
|
||||
|
||||
nginx::resource::vhost { 'test2.local test2':
|
||||
ensure => present,
|
||||
www_root => '/var/www/nginx-default',
|
||||
ssl => true,
|
||||
ssl_cert => 'puppet:///modules/sslkey/whildcard_mydomain.crt',
|
||||
ssl_key => 'puppet:///modules/sslkey/whildcard_mydomain.key'
|
||||
}
|
||||
|
||||
nginx::resource::location { 'test2.local-bob':
|
||||
ensure => present,
|
||||
www_root => '/var/www/bob',
|
||||
location => '/bob',
|
||||
vhost => 'test2.local test2',
|
||||
}
|
||||
|
Reference in New Issue
Block a user