diff --git a/manifests/init.pp b/manifests/init.pp index 54a96ee1450632ad596a94a38f015c96e9f6517c..2701948226c485cee50ef872c45dedf9ea7337d8 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -36,7 +36,7 @@ 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', } - nginx::resource::location { '/va': + nginx::resource::location { '/va/': ensure => present, ssl => true, ssl_only => true, @@ -44,6 +44,14 @@ class ai4ca ( 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 { 'nginx http LiU': zone => 'liu',