diff --git a/rootfs/nginx/sites-enabled/nginx.conf b/rootfs/nginx/sites-enabled/nginx.conf index c217ff9..5b97211 100644 --- a/rootfs/nginx/sites-enabled/nginx.conf +++ b/rootfs/nginx/sites-enabled/nginx.conf @@ -42,8 +42,6 @@ server { location ^~ /.well-known { location = /.well-known/carddav { return 301 $nc_proto://$host:$nc_port/remote.php/dav/; } location = /.well-known/caldav { return 301 $nc_proto://$host:$nc_port/remote.php/dav/; } - #location = /.well-known/webfinger { return 301 $nc_proto://$host/index.php$uri; } - #location = /.well-known/nodeinfo { return 301 $nc_proto://$host/index.php$uri; } #location /.well-known/acme-challenge { try_files $uri $uri/ =404; } #location /.well-known/pki-validation { try_files $uri $uri/ =404; } #return 301 /index.php$request_uri; @@ -85,8 +83,8 @@ server { } location ~ \.(?:css|js|svg|gif|map)$ { - try_files $uri /index.php$uri$is_args$args; - #try_files $uri /index.php$request_uri; + #try_files $uri /index.php$uri$is_args$args; + try_files $uri /index.php$request_uri; expires 6M; access_log off; }