Change server-host default of *4 to 127.0.0.1
This commit is contained in:
committed by
Steve Chávez
parent
93f10adb3c
commit
2066220244
@@ -25,6 +25,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
|
|||||||
|
|
||||||
- #1099, Numbers in json path `?select=data->1->>key` now get treated as json array indexes instead of keys - @steve-chavez
|
- #1099, Numbers in json path `?select=data->1->>key` now get treated as json array indexes instead of keys - @steve-chavez
|
||||||
- #1128, Allow finishing a json path with a single arrow `->`. Now a json can be obtained without resorting to casting, Previously: `/json_arr?select=data->>2::json`, now: `/json_arr?select=data->2` - @steve-chavez
|
- #1128, Allow finishing a json path with a single arrow `->`. Now a json can be obtained without resorting to casting, Previously: `/json_arr?select=data->>2::json`, now: `/json_arr?select=data->2` - @steve-chavez
|
||||||
|
- #724, Change server-host default of *4 to 127.0.0.1
|
||||||
|
|
||||||
## [0.5.0.0] - 2018-05-14
|
## [0.5.0.0] - 2018-05-14
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -28,7 +28,7 @@ ENV PGRST_DB_URI= \
|
|||||||
PGRST_DB_SCHEMA=public \
|
PGRST_DB_SCHEMA=public \
|
||||||
PGRST_DB_ANON_ROLE= \
|
PGRST_DB_ANON_ROLE= \
|
||||||
PGRST_DB_POOL=100 \
|
PGRST_DB_POOL=100 \
|
||||||
PGRST_SERVER_HOST=*4 \
|
PGRST_SERVER_HOST="127.0.0.1" \
|
||||||
PGRST_SERVER_PORT=3000 \
|
PGRST_SERVER_PORT=3000 \
|
||||||
PGRST_SERVER_PROXY_URI= \
|
PGRST_SERVER_PROXY_URI= \
|
||||||
PGRST_JWT_SECRET= \
|
PGRST_JWT_SECRET= \
|
||||||
|
|||||||
@@ -132,7 +132,7 @@ readOptions = do
|
|||||||
<*> C.key "db-anon-role"
|
<*> C.key "db-anon-role"
|
||||||
<*> (mfilter (/= "") <$> C.key "server-proxy-uri")
|
<*> (mfilter (/= "") <$> C.key "server-proxy-uri")
|
||||||
<*> C.key "db-schema"
|
<*> C.key "db-schema"
|
||||||
<*> (fromMaybe "*4" . mfilter (/= "") <$> C.key "server-host")
|
<*> (fromMaybe "127.0.0.1" . mfilter (/= "") <$> C.key "server-host")
|
||||||
<*> (fromMaybe 3000 . join . fmap coerceInt <$> C.key "server-port")
|
<*> (fromMaybe 3000 . join . fmap coerceInt <$> C.key "server-port")
|
||||||
<*> (fmap encodeUtf8 . mfilter (/= "") <$> C.key "jwt-secret")
|
<*> (fmap encodeUtf8 . mfilter (/= "") <$> C.key "jwt-secret")
|
||||||
<*> (fromMaybe False . join . fmap coerceBool <$> C.key "secret-is-base64")
|
<*> (fromMaybe False . join . fmap coerceBool <$> C.key "secret-is-base64")
|
||||||
@@ -209,7 +209,7 @@ readOptions = do
|
|||||||
|db-anon-role = "postgres"
|
|db-anon-role = "postgres"
|
||||||
|db-pool = 10
|
|db-pool = 10
|
||||||
|
|
|
|
||||||
|server-host = "*4"
|
|server-host = "127.0.0.1"
|
||||||
|server-port = 3000
|
|server-port = 3000
|
||||||
|
|
|
|
||||||
|## base url for swagger output
|
|## base url for swagger output
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ db-uri = "postgres:///postgrest_test"
|
|||||||
db-schema = "test"
|
db-schema = "test"
|
||||||
db-anon-role = "postgrest_test_anonymous"
|
db-anon-role = "postgrest_test_anonymous"
|
||||||
db-pool = 1
|
db-pool = 1
|
||||||
server-host = "*4"
|
server-host = "127.0.0.1"
|
||||||
server-port = 49421
|
server-port = 49421
|
||||||
|
|
||||||
# Read secret from a file: /dev/stdin (alias for standard input)
|
# Read secret from a file: /dev/stdin (alias for standard input)
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ db-uri = "postgres:///postgrest_test"
|
|||||||
db-schema = "test"
|
db-schema = "test"
|
||||||
db-anon-role = "postgrest_test_anonymous"
|
db-anon-role = "postgrest_test_anonymous"
|
||||||
db-pool = 1
|
db-pool = 1
|
||||||
server-host = "*4"
|
server-host = "127.0.0.1"
|
||||||
server-port = 49421
|
server-port = 49421
|
||||||
role-claim-key = "$(ROLE_CLAIM_KEY)"
|
role-claim-key = "$(ROLE_CLAIM_KEY)"
|
||||||
jwt-secret = "reallyreallyreallyreallyverysafe"
|
jwt-secret = "reallyreallyreallyreallyverysafe"
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ db-uri = "postgres:///postgrest_test"
|
|||||||
db-schema = "test"
|
db-schema = "test"
|
||||||
db-anon-role = "postgrest_test_anonymous"
|
db-anon-role = "postgrest_test_anonymous"
|
||||||
db-pool = 1
|
db-pool = 1
|
||||||
server-host = "*4"
|
server-host = "127.0.0.1"
|
||||||
server-port = 49421
|
server-port = 49421
|
||||||
|
|
||||||
# Read secret from a file: /dev/stdin (alias for standard input)
|
# Read secret from a file: /dev/stdin (alias for standard input)
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ db-uri = "postgres:///postgrest_test"
|
|||||||
db-schema = "test"
|
db-schema = "test"
|
||||||
db-anon-role = "postgrest_test_anonymous"
|
db-anon-role = "postgrest_test_anonymous"
|
||||||
db-pool = 1
|
db-pool = 1
|
||||||
server-host = "*4"
|
server-host = "127.0.0.1"
|
||||||
server-port = 49421
|
server-port = 49421
|
||||||
|
|
||||||
jwt-secret = "reallyreallyreallyreallyverysafe"
|
jwt-secret = "reallyreallyreallyreallyverysafe"
|
||||||
|
|||||||
Reference in New Issue
Block a user