From 9e94ba36df957575d1dd73d4031d01a071361357 Mon Sep 17 00:00:00 2001 From: Modulos Date: Mon, 29 May 2017 21:20:18 +0200 Subject: [PATCH] Require apt-get update for nginx --- files/nextcloud.nginx | 4 ++-- manifest | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/files/nextcloud.nginx b/files/nextcloud.nginx index 79d8097..f7be1c5 100644 --- a/files/nextcloud.nginx +++ b/files/nextcloud.nginx @@ -3,14 +3,14 @@ upstream php-handler { } server { - listen 80; + listen [::]:80; server_name cloud.ungleich.ch; # enforce https return 301 https://$server_name$request_uri; } server { - listen 443 ssl; + listen [::]:443 ssl; server_name cloud.ungleich.ch; ssl_certificate /etc/ssl/certs/star.ungleich.ch.crt; diff --git a/manifest b/manifest index 427eb90..8d24c7d 100755 --- a/manifest +++ b/manifest @@ -44,12 +44,12 @@ db_name=$(cat "$__object/parameter/db-name") # Install packages for package in php7.0-common php7.0-gd php7.0-json php7.0-pgsql php7.0-curl \ php7.0-intl php7.0-mcrypt php7.0-imagick \ - php7.0-zip php7.0-apcu php7.0-mbstring php7.0-xml php7.0-fpm + php7.0-zip php7.0-apcu php7.0-mbstring php7.0-xml php7.0-fpm \ + nginx do require="__apt_update_index" __package $package --state=present done __package postgresql --state=present -__package nginx --state=present __package curl --state=present # Configure packages