add config option server-unix-socket-mode (#1415)

* added config option server-unix-socket-mode to enable custom socket permissions

* added server-unix-socket-mode input validation
This commit is contained in:
Dan Amoroso
2019-11-23 10:52:33 -05:00
committed by Steve Chavez
parent f9c64d9f65
commit 2e6c78d723
5 changed files with 38 additions and 6 deletions
+2
View File
@@ -66,6 +66,8 @@ _baseCfg = -- Connection Settings
AppConfig mempty "postgrest_test_anonymous" Nothing "test" "localhost" 3000
-- No user configured Unix Socket
Nothing
-- No user configured Unix Socket file mode (defaults to 755)
(Right 493)
-- Jwt settings
(Just $ encodeUtf8 "reallyreallyreallyreallyverysafe") False Nothing
-- Connection Modifiers