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