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

Now everything should work as expected

parent a69478f2
Branches
No related tags found
No related merge requests found
Pipeline #75923 passed
...@@ -6,33 +6,33 @@ class bright ( ...@@ -6,33 +6,33 @@ class bright (
include nginx include nginx
profiles::letsencrypt::cert { fact('networking.fqdn'): } profiles::letsencrypt::cert { fact('networking.fqdn'): }
# nginx::resource::server { fact('networking.fqdn'): nginx::resource::server { fact('networking.fqdn'):
# ensure => present, ensure => present,
# www_root => $www_root, www_root => $www_root,
# location_cfg_append => { location_cfg_append => {
# 'rewrite' => '^ https://$server_name$request_uri? permanent', 'rewrite' => '^ https://$server_name$request_uri? permanent',
# }, },
# } }
#
# nginx::resource::server { "${fact('networking.fqdn')} HTTPS": nginx::resource::server { "${fact('networking.fqdn')} HTTPS":
# ensure => present, ensure => present,
# listen_port => 443, listen_port => 443,
# www_root => $www_root, www_root => $www_root,
# index_files => $index_files, index_files => $index_files,
# ssl => true, ssl => true,
# ssl_cert => fact("letsencrypt_certs.\"${fact('networking.fqdn')}\".files.combined"), ssl_cert => fact("letsencrypt_certs.\"${fact('networking.fqdn')}\".files.combined"),
# ssl_key => fact("letsencrypt_certs.\"${fact('networking.fqdn')}\".files.key"), ssl_key => fact("letsencrypt_certs.\"${fact('networking.fqdn')}\".files.key"),
# ssl_protocols => 'TLSv1.3 TLSv1.2', ssl_protocols => 'TLSv1.3 TLSv1.2',
# 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', 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': nginx::resource::location { '/test':
# ensure => present, ensure => present,
# ssl => true, ssl => true,
# ssl_only => true, ssl_only => true,
# server => "${fact('networking.fqdn')} HTTPS", server => "${fact('networking.fqdn')} HTTPS",
# proxy => 'http://localhost:8100/', proxy => 'http://localhost:8100/',
# } }
firewalld_service { firewalld_service {
default: default:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment