- Full IPv4 and IPv6 support
- TLS Server Name Inspection (SNI)
- Serving local files via HTTP and HTTPS
- Reverse proxy for other HTTP and HTTPS servers
- Transparent WebSocket reverse proxy
- FastCGI support (e.g. PHP-FPM)
- Automatic path info detection (e.g.
/my/file/extra/path
-> script:/my/file.php
, path info:extra/path
)
- Automatic path info detection (e.g.
- Support for MaxMind's GeoIP Database
- Optional DNS reverse lookup for connecting hosts
- Automatic URL rewrite (e.g.
/index.html
->/
,/test.php
->/test
) - Modern looking and responsive error documents
See doc/example.conf for more details.
geoip_dir
(optional) - path to a directory containing GeoIP databases
[cert <cert-name>]
- begins section for a certificatecertificate
- path to SSL certificate (or certificate chain)private_key
- path to SSL private key
[host <host>]
- begins section for the virtual host<host>
cert
- the name of the certificate to use- Local
webroot
- path to the root directorydir_mode
- specify the behaviour for directories without anindex.html
orindex.php
forbidden
- the server will respond with403 Forbidden
info
- try passing path info to an upper.php
file.list
- list contents of directory (not implemented yet)
- Reverse proxy
hostname
- hostname of server to be reverse proxy ofport
- port to be usedhttp
- use HTTP to communicate with serverhttps
- use HTTPS to communicate with server