Thanks Danil, Abhilash ... moved instance to a *small, reboote and restated container. Boom, all working.
The guide is on the surface fine, but has a number of mistake, and the middle section is a direct copy-paste from the Mailman3 docker instructions page. There are a number of small but important mistakes (syntax errors for eg) -- and the page owner provides no contacts, or hints how to google for them.
I guess I'm so use to out of memory errors being a symptom of a giant bork that I don't take them as a sign I don't have enough memory.
OK -- so everything is almost good... but nginx is still showing the default page.
Could it be as stupid as not using the right single quotes around the domain name (hostname in this case)?
I tried this config saved in /etc/nginx/conf.d/listman.blahblah.org.za.conf
server {
listen 80;
server_name 'listman.blahblah.org.za';
location /static/ {
root /var/spool/mailman-web/;
}
location / {
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $http_host;
proxy_set_header X-NginX-Proxy true;
proxy_pass http://127.0.0.1:8000/;
proxy_redirect off;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
}
# Error pages
error_page 500 502 503 504 /500.html;
location = /500.html {
root /var/spool/mailman-web/;
}
}
I also tried the config in the Olay Farm cookbook
server {
listen 80;
server_name listman.blahblah.org.za
;
location /static/ { alias /opt/mailman/web/static/; }
location / { include uwsgi_params; uwsgi_pass 172.19.199.3:8080; uwsgi_read_timeout 300; }
Even tried the config at https://wiki.list.org/DOC/Mailman%203%20installation%20experience?action=AttachFile&do=view&target=lm3o_nginx.txt but get when I test config nginx: [emerg] a duplicate default server for 0.0.0.0:80 in /etc/nginx/nginx.conf:41 nginx: configuration file /etc/nginx/nginx.conf test failed
And finally the instructions given here https://github.com/Yexiaoxing/mailman-on-aws/blob/master/05-nginx-proxy.md
I'm basically flailing in the dark here...