title: Where to place ASP.NET Core website files in a Linux environment
body: <p>I'm deploying an ASP.NET Core 2.1 website to a Debian (Stretch) instance running nginx. Not being too familiar with Linux, I'm not sure where the standard/best place to deploy the website files to.</p>
  
  <p><em>(e.g. on IIS, the inetpub and directories under that were common to deploy to, though you could deploy it anywhere you want to if the proper folder permissions were given to the app pool processes)</em></p>
  
  <p>This <a href="https://docs.microsoft.com/en-us/aspnet/core/host-and-deploy/linux-nginx?view=aspnetcore-2.1&amp;tabs=aspnetcore2x" rel="nofollow noreferrer">documented ASP.NET Core nginx deployment</a> by MSFT doesn't mention where to put them.</p>
  
  <p>Scott Hanselman's <a href="https://www.hanselman.com/blog/PublishingAnASPNETCoreWebsiteToACheapLinuxVMHost.aspx" rel="nofollow noreferrer">post</a> kind of mentions the <code>/var</code> directory.</p>
  
  <p>Where is the standard place to deploy a [ASP.NET Core] website in nginx?</p>