diff options
author | Valery Piashchynski <[email protected]> | 2021-01-11 15:10:37 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2021-01-11 15:10:37 +0300 |
commit | c6d42aa2571ccdb879bc1c1e5772065701baaf99 (patch) | |
tree | 5fac285899173aab9f528578837bcb70046057d5 /.rr.yaml | |
parent | faf36bf835b0ac6a9f23226a94a341384272801d (diff) |
return missed `ssl` config section in the .rr.yaml
Diffstat (limited to '.rr.yaml')
-rw-r--r-- | .rr.yaml | 41 |
1 files changed, 24 insertions, 17 deletions
@@ -46,11 +46,18 @@ http: # override http error code for the internal RR errors (default 500) internalErrorCode: 505 + 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 - + key: server.key # rootCA certificate - rootCa: root.crt + rootCa: root.crt + # HTTP service provides FastCGI as frontend fcgi: @@ -156,20 +163,20 @@ limit: execTTL: 60 # static file serving. remove this section to disable static file serving. -#static: -# # root directory for static file (http would not serve .php and .htaccess files). -# dir: "public" -# -# # list of extensions for forbid for serving. -# forbid: [ ".php", ".htaccess" ] -# -# # Automatically add headers to every request. -# request: -# "Example-Request-Header": "Value" -# -# # Automatically add headers to every response. -# response: -# "X-Powered-By": "RoadRunner" +static: + # root directory for static file (http would not serve .php and .htaccess files). + dir: "public" + + # list of extensions for forbid for serving. + forbid: [ ".php", ".htaccess" ] + + # Automatically add headers to every request. + request: + "Example-Request-Header": "Value" + + # Automatically add headers to every response. + response: + "X-Powered-By": "RoadRunner" # health service configuration health: |