Skip to content

Commit

Permalink
wisemapping: test rewrite_to_https attribute to see if redirection to…
Browse files Browse the repository at this point in the history
… https is working.
  • Loading branch information
gwarf committed Feb 9, 2015
1 parent 633f71d commit 51ae93e
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -323,11 +323,12 @@
# Proxy to local jetty and serve assets using nginx.
# XXX debug/re-enable service of assets using nginx.
nginx::resource::vhost { $::fqdn:
proxy => 'http://wisemapping_app',
ssl => $ssl,
ssl_cert => $ssl_cert,
ssl_key => $ssl_key,
# raw_append => [
proxy => 'http://wisemapping_app',
ssl => $ssl,
rewrite_to_https => $ssl,
ssl_cert => $ssl_cert,
ssl_key => $ssl_key,
# raw_append => [
# "location /js { root ${wisemapping_dir}/webapps/wisemapping/js; }",
# "location /css { root ${wisemapping_dir}/webapps/wisemapping/css; }",
# "location /images { root ${wisemapping_dir}/webapps/wisemapping/images; }",
Expand Down

0 comments on commit 51ae93e

Please sign in to comment.