On Mon, Dec 21, 2020, at 9:45 AM, Abhilash Raj wrote:
On Mon, Dec 21, 2020, at 4:20 AM, James Bowery wrote:
Thanks. That configuration worked for me -- at least to the point that I got this in my apache error log, which means the proxy pass was working:
[Sun Dec 20 22:45:02.548267 2020] [proxy:error] [pid 18049] (111)Connection refused: AH00957: uwsgi: attempt to connect to 172.19.199.3:8080 (172.19.199.3) failed [Sun Dec 20 22:45:02.548294 2020] [:error] [pid 18049] [client ....:59424] AH10101: failed to make connection to backend: 172.19.199.3:8080
Are you able to confirm that the Web container is running at 172.19.199.3? Perhaps, try connecting at port 800 via Curl or something
I meant, Port 8000.
and see if you get a valid HTML back?
On Mon, Dec 14, 2020 at 10:03 PM <matthew@alberti.us> wrote:
James, This is what I put in my apache2 conf for the mailman virtual host:
#Mailman3 Web Configuration Alias /favicon.ico /opt/mailman/web/static/hyperkitty/img/favicon.ico
Alias /static /opt/mailman/web/static <Directory /opt/mailman/web/static> Require all granted </Directory>
ProxyPassMatch ^/static ! ProxyPassMatch ^/favicon.ico ! ProxyPass / uwsgi://172.19.199.3:8080/
I don't believe I did anything to uwsgi's conf. One thing I did
notice is that the '/' on the end of the 'ProxyPass' command (last line) is relevant. I think it didn't work right without it.
I am interested to hear from others if that configuration is
complete. It works as far as I know.
- Matt Alberti
-----Original Message----- From: James Bowery <jabowery@gmail.com> Sent: Monday, December 14, 2020 8:27 PM To: mailman-users@mailman3.org Subject: [MM3-users] Equivalent Apache2 Directives for Those From the Docker Nginx Documentation?
The Docker documentation at:
https://asynchronous.in/docker-mailman/#dependencies
I've installed and enabled proxy_uwsgi for Apache and made a rough cut at a configuration for the lists.* subdomain in question but it's failing.
What follows are the document's Nginx directives for which I would greatly appreciate the Apache2 equivalents. I'm attempting to move a mailing list off of Yahoo groups onto my hosted server using an Apache2's virtual host on the 'lists' subdomain:
Setting up your web server:
# Nginx configuration. location / { # First attempt to serve request as file, then proxy_pass http://172.19.199.3:8000; include uwsgi_params; uwsgi_read_timeout 300; proxy_set_header Host $host; proxy_set_header X-Forwarded-For $remote_addr; }
uwsgi:
# Nginx configuration. location / { # First attempt to serve request as file, then uwsgi_pass 172.19.199.3:8080; include uwsgi_params; uwsgi_read_timeout 300; }
Mailman-users mailing list -- mailman-users@mailman3.org To unsubscribe send an email to mailman-users-leave@mailman3.org https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/
Mailman-users mailing list -- mailman-users@mailman3.org To unsubscribe send an email to mailman-users-leave@mailman3.org https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/
-- thanks, Abhilash Raj (maxking)
-- thanks, Abhilash Raj (maxking)