Unfortunately, at the moment, we cannot offer you a solution on how to get rid of the site reloading after loading the theme or plugin, since this reboot is necessary for the correct processing of the downloaded data. But problems with Bad Gateway should be solved by an automatic restart of the service.mehowq wrote:
I've successfully installed nopCommerce 4.20, sql and nginx on Ubuntu 18.04. When I upload a template through Admin I get the 502 Bad Gateway nginx error. I looked into the code and noticed every time a plugin is uploaded, the application is restarted through _webHelper.RestartAppDomain(); which is probably causing the error on the nginx.
Is there any way to make it more gracefully so that the user won't get 502 nginx error?