Preset: iis_node
URLRewrite Module..mjs as a new mime type and set its content type to application/javascript..output folder to your website in IIS.Preset: iis_handler
You can use IIS http handler directly.
HttpPlatformHandler Module.output directory into the Windows Server, and create a website on IIS pointing to that exact directory.import { defineNitroConfig } from "nitro/config";
export default defineNitroConfig({
// IIS options default
iis: {
// merges in a pre-existing web.config file to the nitro default file
mergeConfig: true,
// overrides the default nitro web.config file all together
overrideConfig: false,
},
});