diff options
author | Wolfy-J <[email protected]> | 2018-09-30 17:58:16 +0300 |
---|---|---|
committer | Wolfy-J <[email protected]> | 2018-09-30 17:58:16 +0300 |
commit | 734fab795eb5ee396ee76955c9ddadc4f3b09112 (patch) | |
tree | cec3a313fe207c3f91cd142d6d37202ef4db9494 /cmd | |
parent | 6122fca108c20984732c969fb1ba53cce5b3c44a (diff) |
https and http2 support
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/rr/.rr.yaml | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/cmd/rr/.rr.yaml b/cmd/rr/.rr.yaml index 401a42da..c428a787 100644 --- a/cmd/rr/.rr.yaml +++ b/cmd/rr/.rr.yaml @@ -18,6 +18,19 @@ http: # http host to listen. address: 0.0.0.0:8080 + ssl: + # custom https port (default 443) + port: 443 + + # force redirect to https connection + redirect: true + + # ssl cert + cert: server.crt + + # ssl private key + key: server.key + # max POST request size, including file uploads in MB. maxRequest: 200 @@ -31,7 +44,7 @@ http: # php worker command. command: "php psr-worker.php pipes" - # connection method (pipes, tcp://:9000, unix://socket.unix). + # connection method (pipes, tcp://:9000, unix://socket.unix). default "pipes" relay: "pipes" # worker pool configuration. @@ -48,11 +61,8 @@ http: # amount of time given to worker to gracefully destruct itself. destroyTimeout: 60 -# static file serving. +# static file serving. remove this section to disable static file serving. static: - # serve http static files - enable: true - # root directory for static file (http would not serve .php and .htaccess files). dir: "public" |