I created a file named /etc/mailman/sites-available/mailman.conf:

Alias           /static         "/opt/mailman/web/static"
<Directory "/opt/mailman/web/static">
    Require all granted
</Directory>

<IfModule mod_headers.c>
    RequestHeader unset X-Forwarded-Proto
    <If "%{HTTPS} =~ /on/">
        RequestHeader set X-Forwarded-Proto "https"
    </If>
</IfModule>

<IfModule mod_proxy.c>
    ProxyPreserveHost On
    ProxyPass "/mailman3" "http://127.0.0.1:8000/mailman3";
    ProxyPass "/archives" "http://127.0.0.1:8000/archives";
    ProxyPass "/accounts" "http://127.0.0.1:8000/accounts";
    ProxyPass "/admin" "http://127.0.0.1:8000/admin";
    ProxyPass "/user-profile" "http://127.0.0.1:8000/user-profile";
</IfModule>

I don't have a directory site-packages. Where/when should that have been 
created?
_______________________________________________
Mailman-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/
Archived at: 
https://lists.mailman3.org/archives/list/[email protected]/message/DK37RMFENSBKFUSJYZGRKU6IKYGZOBZE/

This message sent to [email protected]

Reply via email to