-server_name sympa.heureux-cyclage.org;
+server_name
+ sympa.chatperche.heureux-cyclage.org
+ sympa.chatperche.org
+ sympa.cyclocoop.heureux-cyclage.org
+ sympa.cyclocoop.org
+ sympa.etudesetchantiers.heureux-cyclage.org
+ sympa.etudesetchantiers.org
+ sympa.heureux-cyclage.org
+ sympa.lesjantesdunord.heureux-cyclage.org
+ sympa.lesjantesdunord.org
+ sympa.ptitvelo.heureux-cyclage.org
+ sympa.ptitvelo.net
+ sympa.velosenville.heureux-cyclage.org
+ sympa.velosenville.org
+ sympa.vieuxbiclou.heureux-cyclage.org
+ sympa.vieuxbiclou.org;
client_body_buffer_size 8k;
client_max_body_size 10m;
log_not_found off;
}
location / {
- index index.html index.htm;
include /etc/nginx/conf.d/fastcgi.conf;
set $no_cache "0";
if ($request_method !~ ^(GET|HEAD)$) {
fastcgi_cache_valid 200 10s;
fastcgi_cache_valid 404 30m;
fastcgi_ignore_headers Cache-Control Expires Set-Cookie;
- fastcgi_max_temp_file_size 2M;
fastcgi_no_cache $no_cache;
+ fastcgi_param SCRIPT_NAME '';
+ set $sympa_robot $host;
+ if ($host = "sympa.chatperche.heureux-cyclage.org") {
+ set $sympa_robot "sympa.chatperche.org";
+ }
+ if ($host = "sympa.cyclocoop.heureux-cyclage.org") {
+ set $sympa_robot "sympa.cyclocoop.org";
+ }
+ if ($host = "sympa.etudesetchantiers.heureux-cyclage.org") {
+ set $sympa_robot "sympa.etudesetchantiers.org";
+ }
+ if ($host = "sympa.lesjantesdunord.heureux-cyclage.org") {
+ set $sympa_robot "sympa.lesjantesdunord.org";
+ }
+ if ($host = "sympa.ptitvelo.heureux-cyclage.org") {
+ set $sympa_robot "sympa.ptitvelo.net";
+ }
+ if ($host = "sympa.velosenville.heureux-cyclage.org") {
+ set $sympa_robot "sympa.velosenville.org";
+ }
+ if ($host = "sympa.vieuxbiclou.heureux-cyclage.org") {
+ set $sympa_robot "sympa.vieuxbiclou.org";
+ }
+ fastcgi_param SERVER_NAME $sympa_robot;
fastcgi_param PATH_INFO $uri;
fastcgi_pass_header Cookie;