diff --git a/manifests/init.pp b/manifests/init.pp index 211d8c9f3c9af43346a6c700a2d696d21ce3681d..426d493d6bbebece9d3244be1fd7c0f22949f6c6 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -51,13 +51,21 @@ class ai4ca ( ssl_ciphers => 'ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384', # lint:ignore:140chars } - nginx::resource::location { '/va': + nginx::resource::location { '/va/': ensure => present, ssl => true, ssl_only => true, server => "${fact('networking.fqdn')} HTTPS", proxy => 'http://localhost:8100/', } + + nginx::resource::location { '/app/': + ensure => present, + ssl => true, + ssl_only => true, + server => "${fact('networking.fqdn')} HTTPS", + proxy => 'http://localhost:8200/', + } } firewalld_service {