about summary refs log tree commit diff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/README.md b/README.md
index ff4066d..ef2dd2b 100644
--- a/README.md
+++ b/README.md
@@ -18,7 +18,14 @@ Sets the following environmental variables for the CGI script, many following [R
 - **`GATEWAY_INTERFACE`** to the fixed value `CGI/1.1`  
 - **`PATH_INFO`** to the HTTP path the client requested  
 - **`QUERY_STRING`** to the query part of the URI  
+- **`REMOTE_ADDR`** is the `Forwarded-For` header, maybe prefixed with
+  an `X-`, or the client address if that header is not set  
 - **`REQUEST_METHOD`** to the HTTP request method  
+- **`SCRIPT_NAME`** is set to the path specified in the config  
+- **`SERVER_NAME`** is set to the HTTP host header  
+- **`SERVER_PORT`** is the port that corgi is running on  
+- **`SERVER_PROTOCOL`** is the HTTP version string that the request came in on  
+- **`SERVER_SOFTWARE`** is `corgi/1.0` where `1.0` is the current version number  
 
 Additionally, corgi will set environment variables for the HTTP request headers.
 They will be uppercased and hyphens replaced with underscores.