Skip to content

upen-source/Nginx.Template

Repository files navigation

Nginx.Template

.NET NuGet Nuget Version

ASP.NET project template with nginx.

Features

  • ASP.NET
  • Entity Framework
  • Docker & docker compose
  • nginx
  • MySQL
  • editorconfig

Installation

dotnet new -i Nginx.Template

Usage

dotnet new ngx-api -o Your.Project

Run it from Docker

# Run & build the containers in background
docker-compose -f docker/docker-compose.yml up --build -d
# Then, to see the nginx logs
docker attach api_proxy

# Or in attached mode
docker-compose -f docker/docker-compose.yml up --build

Open a browser and go to http://localhost/WeatherForecast