Nginx corrections

This commit is contained in:
Modulos 2017-04-25 11:42:26 +02:00
parent dca746df49
commit 58047a81d5
2 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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