Slow SSL performance

So I am on a dedicated host with 4x3.6ghz cpus and 24 gigs of ram. I’m running the maria\redis\nginx\php-fpm\lets-encrypt compose from the examples. Docker is hosted on an NVMe and the data being served is on an SSD on the same host. I am seeing transfer rates of ~50-60 mbps Megabytes per second which is absymally slow to what I should be able to get. My host can push at 500 mbps verified with iperf3. When I had it temporarily as HTTP I was able to sync at around 300 megabits per second. There is plenty of CPU on both the host and client when transferring, what is holding it back?

Config.php:
<?php
$CONFIG = array (
‘memcache.local’ => ‘\OC\Memcache\APCu’,
‘apps_paths’ =>
array (
0 =>
array (
‘path’ => ‘/var/www/html/apps’,
‘url’ => ‘/apps’,
‘writable’ => false,
),
1 =>
array (
‘path’ => ‘/var/www/html/custom_apps’,
‘url’ => ‘/custom_apps’,
‘writable’ => true,
),
),
‘memcache.distributed’ => ‘\OC\Memcache\Redis’,
‘memcache.locking’ => ‘\OC\Memcache\Redis’,
‘redis’ =>
array (
‘host’ => ‘redis’,
‘password’ => ‘yourpassword’,
‘port’ => 6379,
),
‘instanceid’ => ‘private’,
‘passwordsalt’ => ‘private’,
‘secret’ => ‘private’,
‘trusted_domains’ =>
array (
0 => ‘nextcloud.something.com’,
1 => ‘nc2.something.com’,
),
‘datadirectory’ => ‘/var/www/html/data’,
‘dbtype’ => ‘mysql’,
‘version’ => ‘20.0.2.2’,
‘overwrite.cli.url’ => ‘https://nc2.something.com’,
‘overwriteprotocol’ => ‘https’,
‘dbname’ => ‘nextcloud’,
‘dbhost’ => ‘db’,
‘dbport’ => ‘’,
‘dbtableprefix’ => ‘oc_’,
‘mysql.utf8mb4’ => true,
‘dbuser’ => ‘user’,
‘dbpassword’ => ‘password’,
‘installed’ => true,
‘maintenance’ => false,
);

FPM params:
pm = dynamic
pm.max_children = 200
pm.start_servers = 16
pm.min_spare_servers = 8
pm.max_spare_servers = 16