diff --git a/ops/nginx/conf.d/filterlists.conf b/ops/nginx/conf.d/filterlists.conf index 9bc5af745..2f90052cf 100644 --- a/ops/nginx/conf.d/filterlists.conf +++ b/ops/nginx/conf.d/filterlists.conf @@ -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; diff --git a/src/FilterLists.Api/Dockerfile b/src/FilterLists.Api/Dockerfile index f58f51aa4..ac07cf1d6 100644 --- a/src/FilterLists.Api/Dockerfile +++ b/src/FilterLists.Api/Dockerfile @@ -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 diff --git a/src/FilterLists.Web/Dockerfile b/src/FilterLists.Web/Dockerfile index ecb4aa022..dabb9bf9a 100644 --- a/src/FilterLists.Web/Dockerfile +++ b/src/FilterLists.Web/Dockerfile @@ -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