Skip to content
Snippets Groups Projects
Commit 98c2b1f7 authored by Nils Olof Paulsson's avatar Nils Olof Paulsson
Browse files

Merge branch '1-add-proxy-to-localhost-8200' into 'production'

added proxy

Closes #1

See merge request liu-puppet-modules/ai4ca!16
parents 7a094cc9 cb836628
No related branches found
No related tags found
1 merge request!16added proxy
Pipeline #94768 passed
...@@ -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