Azure Website Node.JS does not work 64 bit.

After a recent update to the Azure site, he violated some of our websites that run on Node.JS. After running some tests to find out which architecture works on the website, it turned out to work on IA64. And this, while the configuration is selected as 32 bits, not 64 bits. It would be nice if changing it to 64 bits would also change NodeJS to 64-bit, but that would remain in 32-bit format.

So my question is this: how can I guarantee that both the OS and the NodeJS runtime work on the same architecture. Either 32 or 64 bits?

+3
source share
1 answer

azure websites 64- node.exe. , , 32- 64- node.exe d:\home\site\wwwroot\bin\x86 d:\home\site\wwwroot\bin\amd64 web.config nodeProcessCommandLine = "d:\home\site\wwwroot\bin\%PROCESSOR_ARCHITECTURE%\node.exe", :

<configuration>
  <system.webServer>
  <handlers>
    <add name="iisnode" path="server.js" verb="*" modules="iisnode" />
  </handlers>
    <iisnode nodeProcessCommandLine="d:\home\site\wwwroot\bin\%PROCESSOR_ARCHITECTURE%\node.exe"/>
  </system.webServer>
</configuration>

env PROCESSOR_ARCHITECTURE . , , .

d:\home\site\wwwroot - - wwwroot .

+3

All Articles