Some user-facing TLS info (pinging @chrisdone @DanBurton)
This commit is contained in:
parent
c430bf4a91
commit
c2e836bf3a
@ -1,3 +1,7 @@
|
||||
## 1.4.6
|
||||
|
||||
* Add TLS support to `yesod devel` [#964](https://github.com/yesodweb/yesod/pull/964)
|
||||
|
||||
## 1.4.5
|
||||
|
||||
* add a switch to yesod to skip deploying a .keter with copy-to [#952](https://github.com/yesodweb/yesod/issues/952)
|
||||
|
||||
@ -183,6 +183,12 @@ reverseProxy opts iappPort = do
|
||||
runTLS tlsSettings (setPort port defaultSettings) app
|
||||
httpProxy = run (develPort opts) proxyApp
|
||||
httpsProxy = runProxyTls (develTlsPort opts) proxyApp
|
||||
putStrLn "Application can be accessed at:\n"
|
||||
putStrLn $ "http://127.0.0.1:" ++ show (develPort opts)
|
||||
putStrLn $ "https://127.0.0.1:" ++ show (develTlsPort opts)
|
||||
putStrLn $ "If you wish to test https capabilities, you should set the following variable:"
|
||||
putStrLn $ " export APPROOT=https://127.0.0.1:" ++ show (develTlsPort opts)
|
||||
putStrLn ""
|
||||
loop (race_ httpProxy httpsProxy) `Ex.onException` exitFailure
|
||||
where
|
||||
loop proxies = forever $ do
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
name: yesod-bin
|
||||
version: 1.4.5.1
|
||||
version: 1.4.6
|
||||
license: MIT
|
||||
license-file: LICENSE
|
||||
author: Michael Snoyman <michael@snoyman.com>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user