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; listen 443 ssl;
server_name cloud.ungleich.ch; server_name cloud.ungleich.ch;
ssl_certificate /etc/ssl/nginx/cloud.example.com.crt; ssl_certificate /etc/ssl/certs/star.ungleich.ch.crt;
ssl_certificate_key /etc/ssl/nginx/cloud.example.com.key; ssl_certificate_key /etc/ssl/private/star.ungleich.ch.key;
# Add headers to serve security related headers # Add headers to serve security related headers
# Before enabling Strict-Transport-Security headers please read into this # Before enabling Strict-Transport-Security headers please read into this

View file

@ -25,7 +25,7 @@ esac
# Install packages # Install packages
for package in ${php} ${php}-gd ${php}-json ${php}-pgsql ${php}-curl \ for package in ${php} ${php}-gd ${php}-json ${php}-pgsql ${php}-curl \
${php}-intl ${php}-mcrypt ${php}-imagick \ ${php}-intl ${php}-mcrypt ${php}-imagick \
postgresql nginx postgresql nginx curl
do __package $package --state=present do __package $package --state=present
done done
@ -35,4 +35,4 @@ require="__package/nginx" __file /etc/nginx/sites-enabled/nextcloud --owner www-
# Postgres # Postgres
require="__package/postgresql" __postgres_database nextcloud --owner nextcloud require="__package/postgresql" __postgres_database nextcloud --owner nextcloud
require="__package/postgresql" __start_on_boot postgres require="__package/postgresql" __postgres_role nextcloud --login --createdb