Revision 720ae6e9
Added by Mickaël Canévet over 10 years ago
manifests/config/passenger.pp | ||
---|---|---|
port => 80,
|
||
docroot => $docroot,
|
||
priority => '5',
|
||
options => ['none'],
|
||
options => ['SymLinksIfOwnerMatch'],
|
||
custom_fragment => template('foreman/apache-fragment.conf.erb', 'foreman/_assets.conf.erb'),
|
||
}
|
||
|
||
... | ... | |
port => 443,
|
||
docroot => $docroot,
|
||
priority => '5',
|
||
options => ['none'],
|
||
options => ['SymLinksIfOwnerMatch'],
|
||
ssl => true,
|
||
ssl_cert => $ssl_cert,
|
||
ssl_key => $ssl_key,
|
spec/classes/foreman_config_passenger_spec.rb | ||
---|---|---|
:serveraliases => ['foreman'],
|
||
:docroot => "#{params[:app_root]}/public",
|
||
:priority => '5',
|
||
:options => ['none'],
|
||
:options => ['SymLinksIfOwnerMatch'],
|
||
:port => 80,
|
||
:custom_fragment => %r{^<Directory #{params[:app_root]}/public>$},
|
||
})
|
||
... | ... | |
:serveraliases => ['foreman'],
|
||
:docroot => "#{params[:app_root]}/public",
|
||
:priority => '5',
|
||
:options => ['none'],
|
||
:options => ['SymLinksIfOwnerMatch'],
|
||
:port => 443,
|
||
:ssl => true,
|
||
:ssl_cert => params[:ssl_cert],
|
Also available in: Unified diff
Set SymLinksIfOwnerMatch options in apache vhosts