diff --git a/.docker/web/nginx.conf b/.docker/web/nginx.conf index fae519e..4c7089d 100644 --- a/.docker/web/nginx.conf +++ b/.docker/web/nginx.conf @@ -132,8 +132,8 @@ http { # The rules in this block are an adaptation of the rules # in `.htaccess` that concern `/.well-known`. - location = /.well-known/carddav { return 301 https://$host/remote.php/dav/; } - location = /.well-known/caldav { return 301 https://$host/remote.php/dav/; } + location = /.well-known/carddav { return 301 http://$host/remote.php/dav/; } + location = /.well-known/caldav { return 301 http://$host/remote.php/dav/; } location /.well-known/acme-challenge { try_files $uri $uri/ =404; } location /.well-known/pki-validation { try_files $uri $uri/ =404; } @@ -162,7 +162,6 @@ http { include fastcgi_params; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; fastcgi_param PATH_INFO $path_info; - fastcgi_param HTTPS on; fastcgi_param modHeadersAvailable true; # Avoid sending the security headers twice fastcgi_param front_controller_active true; # Enable pretty urls