[{"data":1,"prerenderedAt":472},["ShallowReactive",2],{"navigation":3,"-deploy-providers-iis":217,"-deploy-providers-iis-surround":467},[4,83,208,214],{"title":5,"path":6,"stem":7,"children":8,"icon":82},"","/docs","1.docs/1.index",[9,12,17,22,27,32,37,42,47,52,57,62,67,72,77],{"title":10,"path":6,"stem":7,"icon":11},"Introduction","i-lucide-compass",{"title":13,"path":14,"stem":15,"icon":16},"Quick Start","/docs/quick-start","1.docs/2.quick-start","i-lucide-zap",{"title":18,"path":19,"stem":20,"icon":21},"Renderer","/docs/renderer","1.docs/4.renderer","ri:layout-masonry-line",{"title":23,"path":24,"stem":25,"icon":26},"Routing","/docs/routing","1.docs/5.routing","ri:direction-line",{"title":28,"path":29,"stem":30,"icon":31},"Assets","/docs/assets","1.docs/50.assets","ri:image-2-line",{"title":33,"path":34,"stem":35,"icon":36},"Configuration","/docs/configuration","1.docs/50.configuration","ri:settings-3-line",{"title":38,"path":39,"stem":40,"icon":41},"Database","/docs/database","1.docs/50.database","ri:database-2-line",{"title":43,"path":44,"stem":45,"icon":46},"Lifecycle","/docs/lifecycle","1.docs/50.lifecycle","i-lucide-layers",{"title":48,"path":49,"stem":50,"icon":51},"Plugins","/docs/plugins","1.docs/50.plugins","ri:plug-line",{"title":53,"path":54,"stem":55,"icon":56},"Tasks","/docs/tasks","1.docs/50.tasks","codicon:run-all",{"title":58,"path":59,"stem":60,"icon":61},"Server Entry","/docs/server-entry","1.docs/6.server-entry","ri:server-line",{"title":63,"path":64,"stem":65,"icon":66},"Cache","/docs/cache","1.docs/7.cache","ri:speed-line",{"title":68,"path":69,"stem":70,"icon":71},"KV Storage","/docs/storage","1.docs/8.storage","carbon:datastore",{"title":73,"path":74,"stem":75,"icon":76},"Migration Guide","/docs/migration","1.docs/99.migration","ri:arrow-right-up-line",{"title":78,"path":79,"stem":80,"icon":81},"Nightly Channel","/docs/nightly","1.docs/99.nightly","ri:moon-fill","i-lucide-book-open",{"title":84,"path":85,"stem":86,"children":87,"icon":89},"Deploy","/deploy","2.deploy/0.index",[88,90,111],{"title":84,"path":85,"stem":86,"icon":89},"ri:upload-cloud-2-line",{"title":91,"path":92,"stem":93,"children":94,"page":110},"Runtimes","/deploy/runtimes","2.deploy/10.runtimes",[95,100,105],{"title":96,"path":97,"stem":98,"icon":99},"Node.js","/deploy/runtimes/node","2.deploy/10.runtimes/1.node","akar-icons:node-fill",{"title":101,"path":102,"stem":103,"icon":104},"Bun","/deploy/runtimes/bun","2.deploy/10.runtimes/bun","simple-icons:bun",{"title":106,"path":107,"stem":108,"icon":109},"Deno","/deploy/runtimes/deno","2.deploy/10.runtimes/deno","simple-icons:deno",false,{"title":112,"path":113,"stem":114,"children":115,"page":110},"Providers","/deploy/providers","2.deploy/20.providers",[116,120,124,128,132,136,140,144,148,152,156,160,164,168,172,176,180,184,188,192,196,200,204],{"title":117,"path":118,"stem":119},"Alwaysdata","/deploy/providers/alwaysdata","2.deploy/20.providers/alwaysdata",{"title":121,"path":122,"stem":123},"AWS Lambda","/deploy/providers/aws","2.deploy/20.providers/aws",{"title":125,"path":126,"stem":127},"AWS Amplify","/deploy/providers/aws-amplify","2.deploy/20.providers/aws-amplify",{"title":129,"path":130,"stem":131},"Azure","/deploy/providers/azure","2.deploy/20.providers/azure",{"title":133,"path":134,"stem":135},"Cleavr","/deploy/providers/cleavr","2.deploy/20.providers/cleavr",{"title":137,"path":138,"stem":139},"Cloudflare","/deploy/providers/cloudflare","2.deploy/20.providers/cloudflare",{"title":141,"path":142,"stem":143},"Deno Deploy","/deploy/providers/deno-deploy","2.deploy/20.providers/deno-deploy",{"title":145,"path":146,"stem":147},"DigitalOcean","/deploy/providers/digitalocean","2.deploy/20.providers/digitalocean",{"title":149,"path":150,"stem":151},"Firebase","/deploy/providers/firebase","2.deploy/20.providers/firebase",{"title":153,"path":154,"stem":155},"Flightcontrol","/deploy/providers/flightcontrol","2.deploy/20.providers/flightcontrol",{"title":157,"path":158,"stem":159},"Genezio","/deploy/providers/genezio","2.deploy/20.providers/genezio",{"title":161,"path":162,"stem":163},"GitHub Pages","/deploy/providers/github-pages","2.deploy/20.providers/github-pages",{"title":165,"path":166,"stem":167},"GitLab Pages","/deploy/providers/gitlab-pages","2.deploy/20.providers/gitlab-pages",{"title":169,"path":170,"stem":171},"Heroku","/deploy/providers/heroku","2.deploy/20.providers/heroku",{"title":173,"path":174,"stem":175},"IIS","/deploy/providers/iis","2.deploy/20.providers/iis",{"title":177,"path":178,"stem":179},"Koyeb","/deploy/providers/koyeb","2.deploy/20.providers/koyeb",{"title":181,"path":182,"stem":183},"Netlify","/deploy/providers/netlify","2.deploy/20.providers/netlify",{"title":185,"path":186,"stem":187},"Platform.sh","/deploy/providers/platform-sh","2.deploy/20.providers/platform-sh",{"title":189,"path":190,"stem":191},"Render.com","/deploy/providers/render","2.deploy/20.providers/render",{"title":193,"path":194,"stem":195},"StormKit","/deploy/providers/stormkit","2.deploy/20.providers/stormkit",{"title":197,"path":198,"stem":199},"Vercel","/deploy/providers/vercel","2.deploy/20.providers/vercel",{"title":201,"path":202,"stem":203},"Zeabur","/deploy/providers/zeabur","2.deploy/20.providers/zeabur",{"title":205,"path":206,"stem":207},"Zerops","/deploy/providers/zerops","2.deploy/20.providers/zerops",{"title":209,"path":210,"stem":211,"children":212,"icon":36},"Config","/config","3.config/0.index",[213],{"title":209,"path":210,"stem":211,"icon":36},{"title":5,"path":215,"stem":216},"/","index",{"id":218,"title":173,"body":219,"description":461,"extension":462,"meta":463,"navigation":464,"path":174,"seo":465,"stem":175,"__hash__":466},"content/2.deploy/20.providers/iis.md",{"type":220,"value":221,"toc":455},"minimark",[222,234,246,295,299,306,309,331,335,451],[223,224,226,227],"h2",{"id":225},"using-iisnode","Using ",[228,229,233],"a",{"href":230,"rel":231},"https://github.com/Azure/iisnode",[232],"nofollow","IISnode",[235,236,237,241,242],"p",{},[238,239,240],"strong",{},"Preset:"," ",[243,244,245],"code",{},"iis_node",[247,248,250,259,266,278,288],"steps",{"level":249},"4",[251,252,253,254,258],"h4",{},"Install the latest LTS version of ",[228,255,96],{"href":256,"rel":257},"https://nodejs.org/en/",[232]," on your Windows Server.",[251,260,261,262],{},"Install ",[228,263,233],{"href":264,"rel":265},"https://github.com/azure/iisnode/releases",[232],[251,267,261,268,277],{},[228,269,272,273,276],{"href":270,"rel":271},"https://www.iis.net/downloads/microsoft/url-rewrite",[232],"IIS ",[243,274,275],{},"URLRewrite"," Module",".",[251,279,280,281,284,285,277],{},"In IIS, add ",[243,282,283],{},".mjs"," as a new mime type and set its content type to ",[243,286,287],{},"application/javascript",[251,289,290,291,294],{},"Deploy the contents of your ",[243,292,293],{},".output"," folder to your website in IIS.",[223,296,298],{"id":297},"using-iis-handler","Using IIS handler",[235,300,301,241,303],{},[238,302,240],{},[243,304,305],{},"iis_handler",[235,307,308],{},"You can use IIS http handler directly.",[247,310,311,316,325],{"level":249},[251,312,253,313,258],{},[228,314,96],{"href":256,"rel":315},[232],[251,317,261,318],{},[228,319,272,322,276],{"href":320,"rel":321},"https://www.iis.net/downloads/microsoft/httpplatformhandler",[232],[243,323,324],{},"HttpPlatformHandler",[251,326,327,328,330],{},"Copy your ",[243,329,293],{}," directory into the Windows Server, and create a website on IIS pointing to that exact directory.",[223,332,334],{"id":333},"iis-config-options","IIS config options",[336,337,342],"pre",{"className":338,"code":339,"filename":340,"language":341,"meta":5,"style":5},"language-ts shiki shiki-themes github-light github-dark github-dark","import { defineNitroConfig } from \"nitro/config\";\n\nexport default defineNitroConfig({\n  // IIS options default\n  iis: {\n    // merges in a pre-existing web.config file to the nitro default file\n    mergeConfig: true,\n    // overrides the default nitro web.config file all together\n    overrideConfig: false,\n  },\n});\n","nitro.config.ts","ts",[243,343,344,367,374,390,397,403,409,422,428,439,445],{"__ignoreMap":5},[345,346,349,353,357,360,364],"span",{"class":347,"line":348},"line",1,[345,350,352],{"class":351},"so5gQ","import",[345,354,356],{"class":355},"slsVL"," { defineNitroConfig } ",[345,358,359],{"class":351},"from",[345,361,363],{"class":362},"sfrk1"," \"nitro/config\"",[345,365,366],{"class":355},";\n",[345,368,370],{"class":347,"line":369},2,[345,371,373],{"emptyLinePlaceholder":372},true,"\n",[345,375,377,380,383,387],{"class":347,"line":376},3,[345,378,379],{"class":351},"export",[345,381,382],{"class":351}," default",[345,384,386],{"class":385},"shcOC"," defineNitroConfig",[345,388,389],{"class":355},"({\n",[345,391,393],{"class":347,"line":392},4,[345,394,396],{"class":395},"sCsY4","  // IIS options default\n",[345,398,400],{"class":347,"line":399},5,[345,401,402],{"class":355},"  iis: {\n",[345,404,406],{"class":347,"line":405},6,[345,407,408],{"class":395},"    // merges in a pre-existing web.config file to the nitro default file\n",[345,410,412,415,419],{"class":347,"line":411},7,[345,413,414],{"class":355},"    mergeConfig: ",[345,416,418],{"class":417},"suiK_","true",[345,420,421],{"class":355},",\n",[345,423,425],{"class":347,"line":424},8,[345,426,427],{"class":395},"    // overrides the default nitro web.config file all together\n",[345,429,431,434,437],{"class":347,"line":430},9,[345,432,433],{"class":355},"    overrideConfig: ",[345,435,436],{"class":417},"false",[345,438,421],{"class":355},[345,440,442],{"class":347,"line":441},10,[345,443,444],{"class":355},"  },\n",[345,446,448],{"class":347,"line":447},11,[345,449,450],{"class":355},"});\n",[452,453,454],"style",{},"html pre.shiki code .so5gQ, html code.shiki .so5gQ{--shiki-light:#D73A49;--shiki-default:#F97583;--shiki-dark:#F97583}html pre.shiki code .slsVL, html code.shiki .slsVL{--shiki-light:#24292E;--shiki-default:#E1E4E8;--shiki-dark:#E1E4E8}html pre.shiki code .sfrk1, html code.shiki .sfrk1{--shiki-light:#032F62;--shiki-default:#9ECBFF;--shiki-dark:#9ECBFF}html pre.shiki code .shcOC, html code.shiki .shcOC{--shiki-light:#6F42C1;--shiki-default:#B392F0;--shiki-dark:#B392F0}html pre.shiki code .sCsY4, html code.shiki .sCsY4{--shiki-light:#6A737D;--shiki-default:#6A737D;--shiki-dark:#6A737D}html pre.shiki code .suiK_, html code.shiki .suiK_{--shiki-light:#005CC5;--shiki-default:#79B8FF;--shiki-dark:#79B8FF}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":5,"searchDepth":369,"depth":369,"links":456},[457,459,460],{"id":225,"depth":369,"text":458},"Using IISnode",{"id":297,"depth":369,"text":298},{"id":333,"depth":369,"text":334},"Deploy Nitro apps to IIS.","md",{},{},{"title":173,"description":461},"Jsc-MRB8GYFPJZIrSMdIz_7r19nNmZYpfLxKzZsn3aU",[468,470],{"title":169,"path":170,"stem":171,"description":469,"children":-1},"Deploy Nitro apps to Heroku.",{"title":177,"path":178,"stem":179,"description":471,"children":-1},"Deploy Nitro apps to Koyeb.",1764005910340]