summaryrefslogtreecommitdiff
path: root/.rr.yaml
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2021-01-11 15:10:37 +0300
committerValery Piashchynski <[email protected]>2021-01-11 15:10:37 +0300
commitc6d42aa2571ccdb879bc1c1e5772065701baaf99 (patch)
tree5fac285899173aab9f528578837bcb70046057d5 /.rr.yaml
parentfaf36bf835b0ac6a9f23226a94a341384272801d (diff)
return missed `ssl` config section in the .rr.yaml
Diffstat (limited to '.rr.yaml')
-rw-r--r--.rr.yaml41
1 files changed, 24 insertions, 17 deletions
diff --git a/.rr.yaml b/.rr.yaml
index 51eb51ec..7fa191a2 100644
--- a/.rr.yaml
+++ b/.rr.yaml
@@ -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: