Add Force SSL Configuration/Middleware
Add Force SSL Configuration/Middleware

Solves #1300
- Adds forceAdminSSL bool config value
- Adds checkSSL middleware
- Adds redirectSSL helper function

woodyrew/Ghost,shannonshsu/Ghost,JonathanZWhite/Ghost,janvt/Ghost,aexmachina/blog-old,davegw/dgw-website,Netazoic/bad-gateway,jomofrodo/ccb-ghost,ddeveloperr/Ghost,camilodelvasto/localghost,wspandihai/Ghost,cysys/ghost-openshift,hawkrives/Wraith,kmeurer/Ghost,bitjson/Ghost,benstoltz/Ghost,Aaron1992/Ghost,acburdine/Ghost,tksander/Ghost,jaguerra/Ghost,shrimpy/Ghost,virtuallyearthed/Ghost,Kaenn/Ghost,katrotz/blog.katrotz.space,claudiordgz/Ghost,cqricky/Ghost,qdk0901/Ghost,diancloud/Ghost,letsjustfixit/Ghost,mattchupp/blog,mattvh/Ghost,sebgie/Ghost,Kaenn/Ghost,thinq4yourself/Unmistakable-Blog,ghostchina/website,v3rt1go/Ghost,kolorahl/Ghost,rollokb/Ghost,mattvh/Ghost,barbastan/Ghost,makapen/Ghost,dai-shi/Ghost,wemakeweb/Ghost,bbmepic/Ghost,lf2941270/Ghost,jeonghwan-kim/Ghost,panezhang/Ghost,ngosinafrica/SiteForNGOs,trunk-studio/Ghost,jomofrodo/ccb-ghost,hoxoa/Ghost,BlueHatbRit/Ghost,gcamana/Ghost,laispace/laiblog,exsodus3249/Ghost,djensen47/Ghost,v3rt1go/Ghost,jiachenning/Ghost,fredeerock/atlabghost,ryanbrunner/crafters,Remchi/Ghost,blankmaker/Ghost,ignasbernotas/nullifer,Kikobeats/Ghost,mayconxhh/Ghost,daihuaye/Ghost,pollbox/ghostblog,trunk-studio/Ghost,davidenq/Ghost-Blog,hilerchyn/Ghost,zackslash/Ghost,netputer/Ghost,etanxing/Ghost,BlueHatbRit/Ghost,ghostchina/Ghost-zh,makapen/Ghost,no1lov3sme/Ghost,pedroha/Ghost,yundt/seisenpenji,AileenCGN/Ghost,bisoe/Ghost,MadeOnMars/Ghost,hilerchyn/Ghost,dqj/Ghost,Klaudit/Ghost,10hacks/blog,duyetdev/islab,diogogmt/Ghost,cicorias/Ghost,Dnlyc/Ghost,morficus/Ghost,hawkrives/Wraith,oimou-house/blog,hnq90/Ghost,Japh/Ghost,theonlypat/Ghost,neynah/GhostSS,disordinary/Ghost,tyrikio/Ghost,zhiyishou/Ghost,JohnONolan/Ghost,aroneiermann/GhostJade,STANAPO/Ghost,smaty1/Ghost,PepijnSenders/whatsontheotherside,hnarayanan/narayanan.co,imjerrybao/Ghost,yujingz/yujignz.com,carlyledavis/Ghost,NamedGod/Ghost,exsodus3249/Ghost,sangcu/Ghost,flpms/ghost-ad,lowkeyfred/Ghost,Smile42RU/Ghost,yangli1990/Ghost,ineitzke/Ghost,flomotlik/Ghost,sceltoas/Ghost,Brunation11/Ghost,ckousik/Ghost,icowan/Ghost,JulienBrks/Ghost,manishchhabra/Ghost,akveo/akveo-blog,memezilla/Ghost,davidenq/Ghost-Blog,ivanoats/ivanstorck.com,Elektro1776/javaPress,avh4/blog.avh4.net,SkynetInc/steam,katrotz/blog.katrotz.space,rameshponnada/Ghost,GroupxDev/javaPress,hoxoa/Ghost,kaiqigong/Ghost,syaiful6/Ghost,kolorahl/Ghost,Dnlyc/Ghost,sebgie/Ghost,lowkeyfred/Ghost,edsadr/Ghost,psychobunny/Ghost,mhhf/ghost-latex,barbastan/Ghost,jacostag/Ghost,cwonrails/Ghost,camilodelvasto/herokughost,darvelo/Ghost,BayPhillips/Ghost,pensierinmusica/Ghost,ladislas/ghost,yujingz/yujignz.com,mttschltz/ghostblog,NovaDevelopGroup/Academy,kortemy/Ghost,InnoD-WebTier/hardboiled_ghost,javimolla/Ghost,sajmoon/Ghost,leonli/ghost,mohanambati/Ghost,tandrewnichols/ghost,patrickdbakke/ghost-spa,optikalefx/Ghost,e10/Ghost,dylanchernick/ghostblog,mtvillwock/Ghost,johnnymitch/Ghost,vainglori0us/urban-fortnight,ineitzke/Ghost,shrimpy/Ghost,veyo-care/Ghost,k2byew/Ghost,chris-yoon90/Ghost,PeterCxy/Ghost,consoleblog/consoleblog,skleung/blog,jamesslock/Ghost,JonSmith/Ghost,floofydoug/Ghost,yundt/seisenpenji,flpms/ghost-ad,ManRueda/Ghost,r14r/fork_nodejs_ghost,jparyani/GhostSS,ghostchina/Ghost.zh,ManRueda/Ghost,epicmiller/pages,YY030913/Ghost,pathayes/FoodBlog,axross/ghost,Polyrhythm/dolce,etanxing/Ghost,ashishapy/ghostpy,kortemy/Ghost,dbalders/Ghost,cysys/ghost-openshift,memezilla/Ghost,r14r/fork_nodejs_ghost,leonli/ghost,singular78/Ghost,jin/Ghost,wallmarkets/Ghost,davidmenger/nodejsfan,Alxandr/Blog,obsoleted/Ghost,Alxandr/Blog,dggr/Ghost-sr,weareleka/blog,Japh/shortcoffee,rouanw/Ghost,melissaroman/ghost-blog,PDXIII/Ghost-FormMailer,Loyalsoldier/Ghost,zhiyishou/Ghost,praveenscience/Ghost,ddeveloperr/Ghost,LeandroNascimento/Ghost,Azzurrio/Ghost,velimir0xff/Ghost,Azzurrio/Ghost,dymx101/Ghost,ThorstenHans/Ghost,arvidsvensson/Ghost,xiongjungit/Ghost,rouanw/Ghost,singular78/Ghost,IbrahimAmin/Ghost,praveenscience/Ghost,metadevfoundation/Ghost,mdbw/ghost,novaugust/Ghost,halfdan/Ghost,ignasbernotas/nullifer,klinker-apps/ghost,javorszky/Ghost,liftup/ghost,mikecastro26/ghost-custom,kaychaks/kaushikc.org,shannonshsu/Ghost,InnoD-WebTier/hardboiled_ghost,axross/ghost,uploadcare/uploadcare-ghost-demo,floofydoug/Ghost,jiangjian-zh/Ghost,gabfssilva/Ghost,olsio/Ghost,Netazoic/bad-gateway,jparyani/GhostSS,dai-shi/Ghost,vainglori0us/urban-fortnight,lukw00/Ghost,acburdine/Ghost,Jonekee/Ghost,tmp-reg/Ghost,kevinansfield/Ghost,ErisDS/Ghost,leninhasda/Ghost,liftup/ghost,bastianbin/Ghost,karmakaze/Ghost,dYale/blog,FredericBernardo/Ghost,NikolaiIvanov/Ghost,bsansouci/Ghost,bosung90/Ghost,AlexKVal/Ghost,jaswilli/Ghost,janvt/Ghost,ashishapy/ghostpy,Xibao-Lv/Ghost,VillainyStudios/Ghost,tidyui/Ghost,tanbo800/Ghost,klinker-apps/ghost,jamesyothers/Ghost,Remchi/Ghost,choskim/GhostAzure,etdev/blog,sifatsultan/js-ghost,alanmoo/moo-on-the-web,fredeerock/atlabghost,Sebastian1011/Ghost,tandrewnichols/ghost,IbrahimAmin/Ghost,Loyalsoldier/Ghost,STANAPO/Ghost,tuan/Ghost,allanjsx/Ghost,RufusMbugua/TheoryOfACoder,cqricky/Ghost,delgermurun/Ghost,johngeorgewright/blog.j-g-w.info,cgiffard/Ghost,KnowLoading/Ghost,thinq4yourself/Unmistakable-Blog,daimaqiao/Ghost-Bridge,sangcu/Ghost,duyetdev/islab,ghostchina/Ghost-zh,cicorias/Ghost,atandon/Ghost,zeropaper/Ghost,phillipalexander/Ghost,lukaszklis/Ghost,optikalefx/Ghost,notno/Ghost,JonSmith/Ghost,LeandroNascimento/Ghost,dymx101/Ghost,rizkyario/Ghost,rizkyario/Ghost,riyadhalnur/Ghost,gabfssilva/Ghost,Kikobeats/Ghost,daimaqiao/Ghost-Bridge,ananthhh/Ghost,Elektro1776/javaPress,schematical/Ghost,NodeJSBarenko/Ghost,aroneiermann/GhostJade,aschmoe/jesse-ghost-app,bitjson/Ghost,javorszky/Ghost,adam-paterson/blog,ErisDS/Ghost,andrewconnell/Ghost,edsadr/Ghost,dqj/Ghost,scopevale/wethepeopleweb.org,eduardojmatos/eduardomatos.me,kmeurer/Ghost,thomasalrin/Ghost,tmp-reg/Ghost,denzelwamburu/denzel.xyz,JohnONolan/Ghost,TribeMedia/Ghost,lcamacho/Ghost,ClarkGH/Ghost,ManRueda/manrueda-blog,pbevin/Ghost,sceltoas/Ghost,lanffy/Ghost,dbalders/Ghost,Jonekee/Ghost,augbog/Ghost,Coding-House/Ghost,manishchhabra/Ghost,Gargol/Ghost,nmukh/Ghost,GarrethDottin/Habits-Design,kaychaks/kaushikc.org,leonli/ghost,jomofrodo/ccb-ghost,developer-prosenjit/Ghost,ladislas/ghost,pollbox/ghostblog,cobbspur/Ghost,stridespace/Ghost,tchapi/igneet-blog,zumobi/Ghost,novaugust/Ghost,no1lov3sme/Ghost,pensierinmusica/Ghost,hnq90/Ghost,ivantedja/ghost,stridespace/Ghost,johnnymitch/Ghost,claudiordgz/Ghost,arvidsvensson/Ghost,epicmiller/pages,MadeOnMars/Ghost,uploadcare/uploadcare-ghost-demo,madole/diverse-learners,sunh3/Ghost,sajmoon/Ghost,cncodog/Ghost-zh-codog,TryGhost/Ghost,gleneivey/Ghost,JohnONolan/Ghost,RoopaS/demo-intern,AnthonyCorrado/Ghost,zeropaper/Ghost,Kaenn/Ghost,edurangel/Ghost,ITJesse/Ghost-zh,PeterCxy/Ghost,prosenjit-itobuz/Ghost,augbog/Ghost,bigertech/Ghost,alecho/Ghost,adam-paterson/blog,lukaszklis/Ghost,ITJesse/Ghost-zh,Romdeau/Ghost,yanntech/Ghost,ngosinafrica/SiteForNGOs,llv22/Ghost,riyadhalnur/Ghost,ericbenson/GhostAzureSetup,yangli1990/Ghost,skmezanul/Ghost,Klaudit/Ghost,tksander/Ghost,wemakeweb/Ghost,davidenq/Ghost-Blog,allspiritseve/mindlikewater,ASwitlyk/Ghost,jeonghwan-kim/Ghost,madole/diverse-learners,dgem/Ghost,GroupxDev/javaPress,ghostchina/Ghost.zh,gcamana/Ghost,camilodelvasto/localghost,lethalbrains/Ghost,jgillich/Ghost,pedroha/Ghost,DesenTao/Ghost,mlabieniec/ghost-env,ballPointPenguin/Ghost,devleague/uber-hackathon,mtvillwock/Ghost,Elektro1776/javaPress,vlmhco/personal-blog,julianromera/Ghost,Sing-Li/GhostSS,jin/Ghost,choskim/Ghost,sfpgmr/Ghost,delgermurun/Ghost,YY030913/Ghost,zuphu/GhostBlog,beautyOfProgram/Ghost,johngeorgewright/blog.j-g-w.info,SkynetInc/steam,ClarkGH/Ghost,10hacks/blog,mlabieniec/ghost-env,kortemy/Ghost,chevex/undoctrinate,tidyui/Ghost,smedrano/Ghost,thomasalrin/Ghost,atandon/Ghost,Empeeric/justanidea,rito/Ghost,jgillich/Ghost,stridespace/Ghost,hyokosdeveloper/Ghost,weareleka/blog,ananthhh/Ghost,novaugust/Ghost,laispace/laiblog,wangjun/Ghost,daihuaye/Ghost,kmeurer/GhostAzureSetup,thehogfather/Ghost,Bunk/Ghost,bsansouci/Ghost,PaulBGD/Ghost-Plus,bastianbin/Ghost,jorgegilmoreira/ghost,Yarov/yarov,francisco-filho/Ghost,zumobi/Ghost,Sebastian1011/Ghost,jgladch/taskworksource,DesenTao/Ghost,ThorstenHans/Ghost,PaulBGD/Ghost-Plus,thehogfather/Ghost,kwangkim/Ghost,blankmaker/Ghost,KnowLoading/Ghost,Brunation11/Ghost,choskim/ghost_exp,patterncoder/patterncoder,melissaroman/ghost-blog,cwonrails/Ghost,Gargol/Ghost,darvelo/Ghost,ManRueda/manrueda-blog,jiangjian-zh/Ghost,Feitianyuan/Ghost,sifatsultan/js-ghost,omaracrystal/Ghost,tadityar/Ghost,JulienBrks/Ghost,situkangsayur/Ghost,kevinansfield/Ghost,petersucks/blog,bosung90/Ghost,JonathanZWhite/Ghost,UsmanJ/Ghost,jparyani/GhostSS,obsoleted/Ghost,akveo/akveo-blog,lf2941270/Ghost,r1N0Xmk2/Ghost,davidblurton/salmondesign-old,mhhf/ghost-latex,karmakaze/Ghost,kaiqigong/Ghost,rchrd2/Ghost,situkangsayur/Ghost,jaguerra/Ghost,BayPhillips/Ghost,notno/Ghost,francisco-filho/Ghost,netputer/Ghost,carlosmtx/Ghost,handcode7/Ghost,load11/ghost,influitive/crafters,mohanambati/Ghost,olsio/Ghost,Smile42RU/Ghost,neynah/GhostSS,davegw/dgw-website,Trendy/Ghost,Netazoic/bad-gateway,vishnuharidas/Ghost,telco2011/Ghost,cwonrails/Ghost,julianromera/Ghost,daimaqiao/Ghost-Bridge,andrewconnell/Ghost,sankumsek/Ghost-ashram,nneko/Ghost,acburdine/Ghost,SachaG/bjjbot-blog,ErisDS/Ghost,hyokosdeveloper/Ghost,developer-prosenjit/Ghost,ballPointPenguin/Ghost,greyhwndz/Ghost,Netazoic/bad-gateway,phillipalexander/Ghost,jomahoney/Ghost,greenboxindonesia/Ghost,letsjustfixit/Ghost,disordinary/Ghost,greyhwndz/Ghost,Romdeau/Ghost,flomotlik/Ghost,influitive/crafters,smedrano/Ghost,MrMaksimize/sdg1,tyrikio/Ghost,ygbhf/Ghost,greenboxindonesia/Ghost,singular78/Ghost,ericbenson/GhostAzureSetup,rollokb/Ghost,TribeMedia/Ghost,achimos/ghost_as,neynah/GhostSS,lukekhamilton/Ghost,tanbo800/Ghost,virtuallyearthed/Ghost,mayconxhh/Ghost,r1N0Xmk2/Ghost,veyo-care/Ghost,cncodog/Ghost-zh-codog,uniqname/everydaydelicious,ckousik/Ghost,rameshponnada/Ghost,PDXIII/Ghost-FormMailer,lanffy/Ghost,hnarayanan/narayanan.co,omaracrystal/Ghost,Alxandr/Blog,sunh3/Ghost,mdbw/ghost,metadevfoundation/Ghost,sebgie/Ghost,katiefenn/Ghost,syaiful6/Ghost,nakamuraapp/new-ghost,schematical/Ghost,petersucks/blog,krahman/Ghost,ManRueda/Ghost,dggr/Ghost-sr,dggr/Ghost-sr,AlexKVal/Ghost,mttschltz/ghostblog,Japh/shortcoffee,cysys/ghost-openshift,Yarov/yarov,codeincarnate/Ghost,ryanbrunner/crafters,ryansukale/ux.ryansukale.com,ljhsai/Ghost,rchrd2/Ghost,ljhsai/Ghost,wspandihai/Ghost,mnitchie/Ghost,sergeylukin/Ghost,chris-yoon90/Ghost,denzelwamburu/denzel.xyz,kwangkim/Ghost,cncodog/Ghost-zh-codog,rafaelstz/Ghost,nneko/Ghost,choskim/GhostAzure,halfdan/Ghost,codeincarnate/Ghost,UnbounDev/Ghost,carlosmtx/Ghost,rito/Ghost,jomahoney/Ghost,TryGhost/Ghost,wangjun/Ghost,ryanorsinger/tryghost,vloom/blog,freele/ghost,mlabieniec/ghost-env,devleague/uber-hackathon,Shauky/Ghost,allanjsx/Ghost,qdk0901/Ghost,ivanoats/ivanstorck.com,beautyOfProgram/Ghost,rafaelstz/Ghost,theonlypat/Ghost,jorgegilmoreira/ghost,e10/Ghost,rizkyario/Ghost,InnoD-WebTier/hardboiled_ghost,load11/ghost,rmoorman/Ghost,Japh/Ghost,diogogmt/Ghost,NovaDevelopGroup/Academy,ygbhf/Ghost,anijap/PhotoGhost,laispace/laiblog,GroupxDev/javaPress,telco2011/Ghost,RufusMbugua/TheoryOfACoder,alecho/Ghost,Xibao-Lv/Ghost,bisoe/Ghost,Trendy/Ghost,patterncoder/patterncoder,lukekhamilton/Ghost,aschmoe/jesse-ghost-app,TryGhost/Ghost,prosenjit-itobuz/Ghost,jorgegilmoreira/ghost,pathayes/FoodBlog,imjerrybao/Ghost,Kikobeats/Ghost,telco2011/Ghost,ASwitlyk/Ghost,Rovak/Ghost,Feitianyuan/Ghost,woodyrew/Ghost,letsjustfixit/Ghost,kevinansfield/Ghost,alexandrachifor/Ghost,GarrethDottin/Habits-Design,benstoltz/Ghost,smaty1/Ghost,SachaG/bjjbot-blog,djensen47/Ghost,mohanambati/Ghost,schneidmaster/theventriloquist.us,velimir0xff/Ghost,rmoorman/Ghost,handcode7/Ghost,UnbounDev/Ghost,jacostag/Ghost,javimolla/Ghost,bbmepic/Ghost,NikolaiIvanov/Ghost,icowan/Ghost,allanjsx/Ghost,vloom/blog,NamedGod/Ghost,yanntech/Ghost,llv22/Ghost,AnthonyCorrado/Ghost,davidmenger/nodejsfan,trepafi/ghost-base,jamesyothers/Ghost,schneidmaster/theventriloquist.us,dYale/blog,lethalbrains/Ghost,leninhasda/Ghost,psychobunny/Ghost,jiachenning/Ghost,Rovak/Ghost,camilodelvasto/herokughost,PepijnSenders/whatsontheotherside,allspiritseve/mindlikewater,Coding-House/Ghost,pbevin/Ghost,ryansukale/ux.ryansukale.com,wallmarkets/Ghost,UsmanJ/Ghost,nmukh/Ghost,ManRueda/manrueda-blog,vainglori0us/urban-fortnight,sergeylukin/Ghost,VillainyStudios/Ghost,Jai-Chaudhary/Ghost,tadityar/Ghost,xiongjungit/Ghost,achimos/ghost_as,diancloud/Ghost,anijap/PhotoGhost,jamesslock/Ghost,panezhang/Ghost,skleung/blog,rwjblue/Ghost,morficus/Ghost,devleague/uber-hackathon,carlyledavis/Ghost,lukw00/Ghost,zackslash/Ghost,k2byew/Ghost,rtorino/me-etc,Jai-Chaudhary/Ghost,mattchupp/blog,choskim/Ghost,jaswilli/Ghost,dbalders/Ghost,etdev/blog,dylanchernick/ghostblog,FredericBernardo/Ghost,NovaDevelopGroup/Academy,skmezanul/Ghost,edurangel/Ghost,Bunk/Ghost,mnitchie/Ghost,dgem/Ghost,sfpgmr/Ghost,gleneivey/Ghost,davidblurton/salmondesign-old