use default aspnetcore_urls port 80

This commit is contained in:
Collin M. Barrett 2019-06-23 19:33:27 -05:00
parent 7823388d09
commit 289f267d49
3 changed files with 4 additions and 6 deletions

View file

@ -11,7 +11,7 @@ server {
location ^~ /api {
rewrite ^/api/(.*)$ /$1 break;
proxy_pass http://api:5000;
proxy_pass http://api:80;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection keep-alive;
@ -22,7 +22,7 @@ server {
}
location / {
proxy_pass http://web:5000;
proxy_pass http://web:80;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection keep-alive;

View file

@ -4,8 +4,7 @@
# init base
FROM mcr.microsoft.com/dotnet/core/aspnet:2.2-alpine as base
WORKDIR /app
ENV ASPNETCORE_URLS "http://*:5000"
EXPOSE 5000
EXPOSE 80
ENTRYPOINT ["dotnet", "FilterLists.Api.dll"]
# init build

View file

@ -4,8 +4,7 @@
# init base
FROM mcr.microsoft.com/dotnet/core/aspnet:2.2-alpine as runtime
WORKDIR /app
ENV ASPNETCORE_URLS "http://*:5000"
EXPOSE 5000
EXPOSE 80
ENTRYPOINT ["dotnet", "FilterLists.Web.dll"]
# init build