Ajout : vm_hosted : etc/sympa/host.d/cyclocoop.org/ .
[lhc/ateliers.git] / etc / nginx / site.d / sympa / site.conf
index 370514c..7fd9353 100644 (file)
@@ -1,4 +1,4 @@
-server_name sympa.heureux-cyclage.org;
+server_name sympa.heureux-cyclage.org sympa.cyclocoop.org;
 
 client_body_buffer_size 8k;
 client_max_body_size 10m;
@@ -33,8 +33,9 @@ location / {
        fastcgi_ignore_headers Cache-Control Expires Set-Cookie;
        fastcgi_max_temp_file_size 2M;
        fastcgi_no_cache $no_cache;
-       fastcgi_param PATH_INFO $uri;
        fastcgi_param SCRIPT_NAME '';
+       fastcgi_param SERVER_NAME $host;
+       fastcgi_param PATH_INFO $uri;
        
        fastcgi_pass_header Cookie;
        fastcgi_pass_header Set-Cookie;