Update README.md
This commit is contained in:
parent
feb388220a
commit
97be91baaa
11
README.md
11
README.md
|
@ -68,10 +68,11 @@ optional arguments:
|
||||||
|
|
||||||
### Setting the ``hostname``
|
### Setting the ``hostname``
|
||||||
|
|
||||||
Because the gemini protocol sends the whole URL in the request, it's necessary
|
The server's hostname should be set to the *DNS* name that you expect to
|
||||||
to declare the hostname that your server is expecting to receive traffic under.
|
receive traffic from. For example, if your jetforce server is running on
|
||||||
Jetforce will reject any request that doesn't match your hostname with a status
|
"gemini://cats.com", you should set the hostname to "cat.com". Any URLs that
|
||||||
of ``50 PERMENANT FAILURE``.
|
do not match this hostname will be refused by the server, including URLs that
|
||||||
|
use an external IP address such as "gemini://174.138.124.169".
|
||||||
|
|
||||||
### TLS Certificates
|
### TLS Certificates
|
||||||
|
|
||||||
|
@ -125,7 +126,7 @@ considered a CGI script. When a CGI script is requested by a gemini client,
|
||||||
the jetforce server will execute the script and pass in information about the
|
the jetforce server will execute the script and pass in information about the
|
||||||
request using environment variables:
|
request using environment variables:
|
||||||
|
|
||||||
| Environment Variable | Example Value |
|
| Variable Name | Example |
|
||||||
| --- | --- |
|
| --- | --- |
|
||||||
| GATEWAY_INTERFACE | GCI/1.1 |
|
| GATEWAY_INTERFACE | GCI/1.1 |
|
||||||
| GEMINI_URL | gemini://mozz.us/cgi-bin/debug.cgi?foobar
|
| GEMINI_URL | gemini://mozz.us/cgi-bin/debug.cgi?foobar
|
||||||
|
|
Loading…
Reference in New Issue