Commit 71063916 authored by Daniel Stan's avatar Daniel Stan

web final sur cupcake

parent 5c080acf
......@@ -12,6 +12,10 @@ case $(/bin/hostname) in
DOMAINS="$DOMAINS -d home.b2moo.fr"
;;
cupcake)
DOMAINS="$DOMAINS -d cupcake.tudo.re"
;;
kugel)
DOMAINS="$DOMAINS -d kugel.tudo.re"
;;
......
......@@ -41,9 +41,8 @@ server {
index index.html index.htm;
ssl on;
# todo: replace /tmp/ by /etc/letsencrypt/live
ssl_certificate /tmp/www.tudo.re/fullchain.pem;
ssl_certificate_key /tmp/www.tudo.re/privkey.pem;
ssl_certificate /etc/letsencrypt/live/www.tudo.re/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/www.tudo.re/privkey.pem;
location / {
# First attempt to serve request as file, then
......
......@@ -15,7 +15,7 @@ server {
client_max_body_size 10G;
fastcgi_buffers 64 4K;
root /var/www/owncloud/;
root /var/www/nextcloud/;
# Disable gzip to avoid the removal of the ETag header
gzip off;
......
......@@ -16,5 +16,15 @@ server {
ssl_ciphers ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv3:+EXP;
ssl_prefer_server_ciphers on;
# pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
#
location ~ \.php$ {
include snippets/fastcgi-php.conf;
# With php5-cgi alone:
#fastcgi_pass 127.0.0.1:9000;
# With php5-fpm:
fastcgi_pass unix:/var/run/php5-fpm.sock;
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment