X-Git-Url: https://git.cyclocoop.org/?a=blobdiff_plain;f=etc%2Fnginx%2Fsite.d%2Fsympa%2Fsite.conf;h=d627aa4b427236846e56aff3b16c2296d654d461;hb=5c42a4d606c3fb4de3420b220d45077b08f13a40;hp=33a08633daf46ba9dd94ed03e11bceac6f247f8e;hpb=b27661cf8e40872543f86a00922d18573ef83612;p=lhc%2Fateliers.git diff --git a/etc/nginx/site.d/sympa/site.conf b/etc/nginx/site.d/sympa/site.conf index 33a0863..d627aa4 100644 --- a/etc/nginx/site.d/sympa/site.conf +++ b/etc/nginx/site.d/sympa/site.conf @@ -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; @@ -11,7 +11,6 @@ location ~ /\. { 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)$) { @@ -32,8 +31,9 @@ location / { 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 ''; + fastcgi_param SERVER_NAME $host; fastcgi_param PATH_INFO $uri; fastcgi_pass_header Cookie;