Merge pull request #19 from maju6406/maju6406-patch-1

adding error pages
This commit is contained in:
Abir Majumdar 2018-09-17 22:06:43 -07:00 committed by GitHub
commit 1d732185a7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,6 +11,11 @@ class profile::sample_website::linux (
port => $webserver_port,
docroot => $doc_root,
require => File[$doc_root],
options => ['-Indexes'],
error_documents => [
{ 'error_code' => '404', 'document' => '/404.html' },
{ 'error_code' => '403', 'document' => '/403.html' }
]
}
firewalld_port { 'Open port for web':