Fix nginx config after upgrade to Debian Bullseye
See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=982935#47 for details
This commit is contained in:
parent
88209afb6e
commit
b953568093
1 changed files with 9 additions and 5 deletions
|
|
@ -26,11 +26,15 @@ nginx:
|
||||||
- uwsgi_pass internal-mailman3-uwsgi
|
- uwsgi_pass internal-mailman3-uwsgi
|
||||||
- include uwsgi_params
|
- include uwsgi_params
|
||||||
- uwsgi_param REMOTE_USER $http_REMOTE_USER
|
- uwsgi_param REMOTE_USER $http_REMOTE_USER
|
||||||
- match: /mailman3/static
|
- match: /mailman3/static/CACHE # Used by Hyperkitty
|
||||||
alias: /var/lib/mailman3/web/static
|
alias: /var/lib/mailman3/web/static/CACHE
|
||||||
- match: /mailman3/static/favicon.ico
|
- match: /mailman3/static/django-mailman3
|
||||||
alias: /var/lib/mailman3/web/static/postorius/img/favicon.ico
|
alias: /usr/share/python3-django-mailman3
|
||||||
|
- match: /mailman3/static/postorius
|
||||||
|
alias: /usr/share/python3-django-postorius/static/postorius
|
||||||
|
- match: /mailman3/static/hyperkitty
|
||||||
|
alias: /usr/share/python3-django-hyperkitty/static/hyperkitty
|
||||||
- match: /avatar/
|
- match: /avatar/
|
||||||
alias: /var/lib/mailman3/web/static/hyperkitty/img/
|
alias: /usr/share/python3-django-hyperkitty/static/hyperkitty/img/
|
||||||
custom:
|
custom:
|
||||||
- try_files participant.png participant.png
|
- try_files participant.png participant.png
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue