mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
use default aspnetcore_urls port 80
This commit is contained in:
parent
7823388d09
commit
289f267d49
3 changed files with 4 additions and 6 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue