Skip to content
Snippets Groups Projects
Verified Commit 5eaf2bcf authored by Joakim Olovsson's avatar Joakim Olovsson
Browse files

Test with proxy under server directive

parent b2d312d7
No related branches found
No related tags found
2 merge requests!11Test,!10Devel
Pipeline #75262 passed
......@@ -19,6 +19,7 @@ class ai4ca (
listen_port => 443,
www_root => $www_root,
index_files => $index_files,
proxy => 'http://localhost:8100',
ssl => true,
ssl_cert => fact("letsencrypt_certs.\"${fact('networking.fqdn')}\".files.combined"),
ssl_key => fact("letsencrypt_certs.\"${fact('networking.fqdn')}\".files.key"),
......@@ -26,11 +27,6 @@ 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 { '/test':
server => "${fact('networking.fqdn')} HTTPS",
proxy => 'http://localhost:8100',
}
firewalld_service {
'nginx http LiU':
zone => 'liu',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment