dépôts
/
lhc
/
ateliers.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Ajout : site Web : www.cyclocoop.org .
[lhc/ateliers.git]
/
etc
/
nginx
/
site.d
/
sympa
/
site.conf
diff --git
a/etc/nginx/site.d/sympa/site.conf
b/etc/nginx/site.d/sympa/site.conf
index
d627aa4
..
31d83dc
100644
(file)
--- a/
etc/nginx/site.d/sympa/site.conf
+++ b/
etc/nginx/site.d/sympa/site.conf
@@
-1,4
+1,7
@@
-server_name sympa.heureux-cyclage.org sympa.cyclocoop.org;
+server_name
+ sympa.heureux-cyclage.org
+ sympa.cyclocoop.heureux-cyclage.org
+ sympa.cyclocoop.org;
client_body_buffer_size 8k;
client_max_body_size 10m;
client_body_buffer_size 8k;
client_max_body_size 10m;
@@
-33,7
+36,11
@@
location / {
fastcgi_ignore_headers Cache-Control Expires Set-Cookie;
fastcgi_no_cache $no_cache;
fastcgi_param SCRIPT_NAME '';
fastcgi_ignore_headers Cache-Control Expires Set-Cookie;
fastcgi_no_cache $no_cache;
fastcgi_param SCRIPT_NAME '';
- fastcgi_param SERVER_NAME $host;
+ set $sympa_robot $host;
+ if ($host = "sympa.cyclocoop.heureux-cyclage.org") {
+ set $sympa_robot "sympa.cyclocoop.org";
+ }
+ fastcgi_param SERVER_NAME $sympa_robot;
fastcgi_param PATH_INFO $uri;
fastcgi_pass_header Cookie;
fastcgi_param PATH_INFO $uri;
fastcgi_pass_header Cookie;