
Hello, and thanks in advance for any assistance.
I followed the installation guide at: https://docs.mailman3.org/en/latest/install/virtualenv.html#
I opted to use nginx and uwsgi. I can access mailman in the browser at https://SERVER_IP/mailman3 but when I try to use the hostname I get an nginx 400 bad request error.
It seems like there is an issue with the nginx proxy. I used the example config and updated the required information:
server {
listen 443 ssl default_server; listen [::]:443 ssl default_server;
server_name HOSTNAME_OF_SERVER; location /static/ { alias /opt/mailman/web/static/; }
location / { proxy_pass http://127.0.0.1:8000; proxy_set_header Host $host; proxy_set_header X-Forwarded-For $remote_addr;
} ssl_certificate /etc/pki/tls/certs/our_certificate.crt; ssl_certificate_key /etc/pki/tls/private/our_key.key;
}
I thought maybe that because Im using uwsgi I should try the ngx_http_uwsgi_module and uwsgi_params in the nginx config, but that did not work, or I didnt use the correct syntax.
Not sure what to try next!