savannah-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Savannah-cvs] [788] more updates


From: ineiev
Subject: [Savannah-cvs] [788] more updates
Date: Mon, 13 May 2024 09:14:15 -0400 (EDT)

Revision: 788
          
http://svn.savannah.gnu.org/viewvc/?view=rev&root=administration&revision=788
Author:   ineiev
Date:     2024-05-13 09:14:13 -0400 (Mon, 13 May 2024)
Log Message:
-----------
more updates

Modified Paths:
--------------
    trunk/sviki/Mirroring.mdwn

Modified: trunk/sviki/Mirroring.mdwn
===================================================================
--- trunk/sviki/Mirroring.mdwn  2024-05-13 12:54:24 UTC (rev 787)
+++ trunk/sviki/Mirroring.mdwn  2024-05-13 13:14:13 UTC (rev 788)
@@ -78,7 +78,7 @@
 The `*-common*.inc` files contain the CGI configurations.
 The other files include them twice (once for HTTP, once for HTTPS).
 
-The HTTP CGI configuration for `gnu mirror` is:
+The CGI configuration for `gnu mirror` is:
 
     location / {
         gzip off;
@@ -89,7 +89,8 @@
         # So there is no need to use 'fastcgi_split_path_info' command.
         fastcgi_param PATH_INFO            $uri;
 
-        fastcgi_param MIRROR_FILE   
/opt/savannah/mirrors/active-mirror-lists/gnu.txt;
+        fastcgi_param LOG_DIR         /opt/savannah/stat/ftp/log;
+        fastcgi_param MIRROR_FILE     $mirror_file;
         fastcgi_param SCRIPT_FILENAME /opt/savane/bin/mirror-redirect;
         fastcgi_param GEOIP_DB        /usr/share/GeoIP/GeoIP.dat;
         fastcgi_param GEOIP6_DB       /usr/share/GeoIP/GeoIPv6.dat;
@@ -121,7 +122,8 @@
         # and sends it to the FastCGI daemon as the PATH_INFO environment 
variable.
         fastcgi_param PATH_INFO            $fastcgi_path_info;
 
-        fastcgi_param MIRROR_FILE   
/opt/savannah/mirrors/active-mirror-lists/download.txt;
+        fastcgi_param LOG_DIR         /opt/savannah/stat/dl/log;
+        fastcgi_param MIRROR_FILE     $mirror_file;
         fastcgi_param SCRIPT_FILENAME /opt/savane/bin/mirror-redirect;
         fastcgi_param GEOIP_DB        /usr/share/GeoIP/GeoIP.dat;
         fastcgi_param GEOIP6_DB       /usr/share/GeoIP/GeoIPv6.dat;
@@ -130,8 +132,10 @@
         fastcgi_pass unix:/var/run/fcgiwrap.socket;
     }
 
-The HTTPS versions substitute gnu.txt and download.txt with gnu-https.txt
-and download-https.txt
+The `$mirror_file` variable is set to one of
+/opt/savannah/mirrors/active-mirror-lists/{gnu,download}{,-https}.txt
+depending on whether it's served via HTTP or HTTPS and whether it's
+used for `gnu mirror` or `nongnu mirror`.
 
 The mirror list text files (`gnu.txt` and `download.txt`)
 contain an auto-generated list of active mirrors and region redirections:
@@ -277,7 +281,7 @@
             gzip off;
             fastcgi_split_path_info       ^(/mirror-check)(/?.+)$;
             fastcgi_param PATH_INFO       $fastcgi_path_info;
-            fastcgi_param MIRROR_FILE   /path/to/active/mirror/list;
+            fastcgi_param MIRROR_FILE     $mirror_file;
             fastcgi_param SCRIPT_FILENAME /opt/savane/bin/mirror-redirect;
             fastcgi_param GEOIP_DB        /usr/share/GeoIP/GeoIP.dat;
             fastcgi_param GEOIP6_DB       /usr/share/GeoIP/GeoIPv6.dat;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]