From 58047a81d5792b42f7692fcaab159506e73667e6 Mon Sep 17 00:00:00 2001 From: Modulos Date: Tue, 25 Apr 2017 11:42:26 +0200 Subject: [PATCH] Nginx corrections --- files/nextcloud.nginx | 4 ++-- manifest | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/files/nextcloud.nginx b/files/nextcloud.nginx index fa294ab..af49612 100644 --- a/files/nextcloud.nginx +++ b/files/nextcloud.nginx @@ -14,8 +14,8 @@ server { listen 443 ssl; server_name cloud.ungleich.ch; - ssl_certificate /etc/ssl/nginx/cloud.example.com.crt; - ssl_certificate_key /etc/ssl/nginx/cloud.example.com.key; + ssl_certificate /etc/ssl/certs/star.ungleich.ch.crt; + ssl_certificate_key /etc/ssl/private/star.ungleich.ch.key; # Add headers to serve security related headers # Before enabling Strict-Transport-Security headers please read into this diff --git a/manifest b/manifest index 74d2522..3e2b74e 100755 --- a/manifest +++ b/manifest @@ -25,7 +25,7 @@ esac # Install packages for package in ${php} ${php}-gd ${php}-json ${php}-pgsql ${php}-curl \ ${php}-intl ${php}-mcrypt ${php}-imagick \ - postgresql nginx + postgresql nginx curl do __package $package --state=present done @@ -35,4 +35,4 @@ require="__package/nginx" __file /etc/nginx/sites-enabled/nextcloud --owner www- # Postgres require="__package/postgresql" __postgres_database nextcloud --owner nextcloud -require="__package/postgresql" __start_on_boot postgres +require="__package/postgresql" __postgres_role nextcloud --login --createdb