added fastcgi support

This commit is contained in:
Dennis Frieberg 2021-03-18 18:13:47 +01:00
parent 5f7fa8ce2b
commit 7662744153
2 changed files with 14 additions and 1 deletions

View file

@ -9,7 +9,9 @@ import qualified Backend.Http as HTTP
#ifdef HTTPS_SUPPORT
import qualified Backend.Https as HTTPS
#endif
#ifdef FASTCGI_SUPPORT
import qualified Backend.FastCGI as FASTCGI
#endif
-- maybe we want a String instead of T.Text depends on
-- the argument parser
@ -35,5 +37,8 @@ backends =
#endif
#ifdef HTTPS_SUPPORT
BackendWithConfig HTTPS.forkHttpsBackend "https" "Host as as simple https server, using Warp" :
#endif
#ifdef FASTCGI_SUPPORT
BackendWithoutConfig FASTCGI.forkFastCGIBackend "fastcgi" "Deploy with fastcgi" :
#endif
[]