diff --git a/docker/rootfs/etc/nginx/http.d/default.conf b/docker/rootfs/etc/nginx/http.d/default.conf index e481363..f8b8a6d 100644 --- a/docker/rootfs/etc/nginx/http.d/default.conf +++ b/docker/rootfs/etc/nginx/http.d/default.conf @@ -13,9 +13,14 @@ server { } location ~ /events/elenco/ { + default_type "text/calendar"; try_files $uri /it/index.ics; } + location ~ \.ics$ { + default_type "text/calendar"; + } + location ~ ^/wp\-content/uploads/2008/02/Statuto\.pdf$ { return 301 https://bglug.it/it/chi-siamo/Statuto.pdf; }