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