Skip to content
Snippets Groups Projects
Commit cb836628 authored by Carlo Navarra's avatar Carlo Navarra
Browse files

added proxy

parent 7a094cc9
Branches
No related tags found
1 merge request!16added proxy
Checking pipeline status
...@@ -51,13 +51,21 @@ class ai4ca ( ...@@ -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 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, 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/',
} }
nginx::resource::location { '/app/':
ensure => present,
ssl => true,
ssl_only => true,
server => "${fact('networking.fqdn')} HTTPS",
proxy => 'http://localhost:8200/',
}
} }
firewalld_service { firewalld_service {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment