here is the full error message. Nginx proxies on http.
https://pastebin.com/raw/TUf5dYi8
the curl commands above result in.
(venv) [mailman@sysname sarah]$ curl -X POST https://127.0.0.1:8000/hyperkitty/api/mailman/archive curl: (35) OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to 127.0.0.1:8000 (venv) [mailman@sysname sarah]$ curl -X POST http://127.0.0.1:8000/hyperkitty/api/mailman/archive curl: (52) Empty reply from server
the apache proxy serves the SSL.
(venv) [mailman@sysnamesarah]$ cat /etc/nginx/conf.d/mailman.conf server {
listen 8080 default_server; listen [::]:8080 default_server;
server_name lists.client.org; location /static/ { alias /var/www/lists.client.org/; }
location / { include uwsgi_params; uwsgi_pass 0.0.0.0:8000;
} #ssl_certificate /path-to-ssl-certs/cert.pem; #ssl_certificate_key /path-to-ssl-certs/privkey.pem;
}