server {
	listen *:443 ssl http2;
	listen [::]:443 ssl http2;
	ssl_certificate /etc/x509/mm.pipoworld.fr/fullchain.cer;
	ssl_certificate_key /etc/x509/mm.pipoworld.fr/mm.pipoworld.fr.key;
	server_name mm.pipoworld.fr mm.nintendojo.fr;
	access_log /var/log/nginx/mm.pipoworld.fr.access.log combined;
	access_log syslog:server=unix:/dev/log combined;
	error_log /var/log/nginx/mm.pipoworld.fr.error.log;
	error_log syslog:server=unix:/dev/log;

	location / {
		uwsgi_pass unix:/run/mailman3-web/uwsgi.sock;
		include /etc/nginx/uwsgi_params;
	}

	location /mailman3/static {
	alias /var/lib/mailman3/web/static;
	}

	location /mailman3/static/favicon.ico {
		alias /var/lib/mailman3/web/static/postorius/img/favicon.ico;
	}
}

