projects
/
sysconfig
/
apache2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
0333f24
)
Serve up Mailman3
author
Alex Dehnert
<alex@dehnerts.com>
Mon, 17 Jul 2023 03:21:33 +0000
(
03:21
+0000)
committer
Alex Dehnert
<alex@dehnerts.com>
Mon, 17 Jul 2023 03:21:33 +0000
(
03:21
+0000)
sites-common/default
patch
|
blob
|
history
diff --git
a/sites-common/default
b/sites-common/default
index 9171a6cb6b7307c511e31c74767fe49749ccfa57..c2197afe36c1676195a451c851f8200230fa1b5e 100644
(file)
--- a/
sites-common/default
+++ b/
sites-common/default
@@
-59,4
+59,16
@@
Alias /doc/ "/usr/share/doc/"
</Directory>
Include sites-common/awstats
</Directory>
Include sites-common/awstats
-Include ../mailman3/apache.conf
+
+Alias /mailman3/static /opt/mailman/web/static
+<Directory "/opt/mailman/web/static/">
+ Require all granted
+</Directory>
+
+<IfModule mod_proxy_uwsgi.c>
+ ProxyPass /mailman3/favicon.ico !
+ ProxyPass /mailman3/static !
+ #ProxyPass /mailman3 unix:/run/mailman3-web/uwsgi.sock|uwsgi://localhost/
+ ProxyPass /mailman3 uwsgi://localhost:8080/
+ ProxyPassReverse /mailman3 uwsgi:/localhost:8080/
+</IfModule>