简体   繁体   English

Node js Web App重新启动问题

[英]Node js web app restart issue

js site which i deployed on Azure. 我在Azure上部署的js网站。

Site was working fine but i made some changes but changes not appearing on the site. 网站工作正常,但我进行了一些更改,但更改未出现在网站上。 How to restart or clear site cache on Azure portal. 如何在Azure门户上重新启动或清除网站缓存。

One more thing that post methods are not working in this site as well how to enable post method in Azure ? 张贴式方法在此站点中不起作用的另一件事以及如何在Azure中启用张贴式方法?

I already tried to restart my web app from Azure portal but not success. 我已经尝试从Azure门户重新启动我的Web应用程序,但没有成功。

Posted my issue https://social.msdn.microsoft.com/Forums/en-US/090831ae-41ff-4091-a7ec-466041904c10/nodejs-app-restart-cache-issue?forum=windowsazurewebsitespreview here as well 在这里也发布了我的问题https://social.msdn.microsoft.com/Forums/en-US/090831ae-41ff-4091-a7ec-466041904c10/nodejs-app-restart-cache-issue?forum=windowsazurewebsitespreview

First of all, you could restart your app by following steps below on Azure portal. 首先,您可以通过在Azure门户上执行以下步骤来重新启动应用程序。

  1. In the Azure Portal , open the blade for the web app. Azure门户中 ,打开Web应用程序的刀片。
  2. Click Overview . 单击概述
  3. Click Restart button to restart your app. 单击重新启动按钮以重新启动您的应用程序。

在此处输入图片说明

Secondly, you could check the code whether it has been changed on Azure with Kudu which could be accessed via https://<yourwebsitename>.scm.azurewebsites.net/DebugConsole . 其次,您可以检查代码是否已在Azure上使用Kudu进行了更改,可以通过https://<yourwebsitename>.scm.azurewebsites.net/DebugConsole访问该代码。 Then cd to site/wwwroot folder, you will now be able to see your application files. 然后cd到site/wwwroot文件夹,您现在可以看到您的应用程序文件。

By default, Azure doesn't restrict any HTTP request method. 默认情况下,Azure不限制任何HTTP请求方法。 Maybe you have made a mistake in configuring web.config file, which can be found on this article . 也许您在配置web.config文件时犯了一个错误,可以在本文中找到该文件 You can check this official guide if needed. 您可以根据需要查看此官方指南

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM