diff options
author | Guilhem Moulin <guilhem@fripost.org> | 2023-01-13 23:41:09 +0100 |
---|---|---|
committer | Guilhem Moulin <guilhem@fripost.org> | 2023-01-13 23:41:09 +0100 |
commit | 6db5440eebbd418d84428d360e17b52273f4d1d8 (patch) | |
tree | 3dd535e6db4cc94740c768562539a38cbc1fc9ab /roles/lists/files/etc | |
parent | 7ea3baad594b889f6f7f4e7e4ccc4dc7c0099bc6 (diff) |
Sympa: Update robot.conf to fix HTTP 421 on virtual hosts.
See https://github.com/sympa-community/sympa/issues/879 ,
https://www.sympa.community/manual/upgrade/notes.html#from-version-prior-to-6256 and
https://www.sympa.community/gpldoc/man/sympa_config.5.html#wwsympa_url_local .
Diffstat (limited to 'roles/lists/files/etc')
-rw-r--r-- | roles/lists/files/etc/nginx/sites-available/sympa | 2 | ||||
-rw-r--r-- | roles/lists/files/etc/sympa/sympa/sympa.conf | 6 |
2 files changed, 5 insertions, 3 deletions
diff --git a/roles/lists/files/etc/nginx/sites-available/sympa b/roles/lists/files/etc/nginx/sites-available/sympa index 89d79f3..8ac6bb4 100644 --- a/roles/lists/files/etc/nginx/sites-available/sympa +++ b/roles/lists/files/etc/nginx/sites-available/sympa @@ -72,7 +72,7 @@ server { return 404; } - fastcgi_split_path_info ^(/[^/]+/sympa)(.*)$; + fastcgi_split_path_info ^/[^/]+(/sympa)(.*)$; include snippets/fastcgi.conf; fastcgi_param PATH_INFO $fastcgi_path_info; fastcgi_param SERVER_NAME $vhost; diff --git a/roles/lists/files/etc/sympa/sympa/sympa.conf b/roles/lists/files/etc/sympa/sympa/sympa.conf index 75072cf..7d29173 100644 --- a/roles/lists/files/etc/sympa/sympa/sympa.conf +++ b/roles/lists/files/etc/sympa/sympa/sympa.conf @@ -48,7 +48,7 @@ etc /etc/sympa ## Syslog facility for sympa ## Do not forget to edit syslog.conf -syslog `cat /etc/sympa/facility` +syslog LOCAL1 ## Log verbosity ## 0: normal, 2,3,4: for debug @@ -364,7 +364,7 @@ ldap_force_canonical_email 1 ## Syslog facility for wwsympa, archived and bounced ## Default is to use previously defined sympa log facility. -log_facility `cat /etc/sympa/facility` +log_facility LOCAL1 #log_module @@ -393,3 +393,5 @@ use_fast_cgi 1 ## Default number of lines of the array displaying the log entries in the logs ## page viewlogs_page_size 25 + +shared_feature on |