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!
_______________________________________________
Mailman-users mailing list -- mailman-users@mailman3.org
To unsubscribe send an email to mailman-users-le...@mailman3.org
https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/
Archived at: 
https://lists.mailman3.org/archives/list/mailman-users@mailman3.org/message/5IJZUBWNZIO5UD3MVBVOSQHM2KEU4YGS/

This message sent to arch...@mail-archive.com

Reply via email to