fix port
This commit is contained in:
@@ -27,6 +27,6 @@ COPY --from=build /app/dist /usr/share/nginx/html
|
|||||||
|
|
||||||
COPY nginx.conf /etc/nginx/nginx.conf
|
COPY nginx.conf /etc/nginx/nginx.conf
|
||||||
|
|
||||||
EXPOSE 80
|
EXPOSE 80 3000
|
||||||
|
|
||||||
CMD ["nginx", "-g", "daemon off;"]
|
CMD ["nginx", "-g", "daemon off;"]
|
||||||
|
|||||||
@@ -38,7 +38,12 @@ http {
|
|||||||
font/woff2;
|
font/woff2;
|
||||||
|
|
||||||
server {
|
server {
|
||||||
|
# 80 is the conventional port; 3000 is what Dokploy targets by default in
|
||||||
|
# its domain config. Binding both means Traefik reaches the app whichever
|
||||||
|
# one the dashboard's Port field is set to, so a deploy can't 502 purely
|
||||||
|
# because those two numbers disagree.
|
||||||
listen 80;
|
listen 80;
|
||||||
|
listen 3000;
|
||||||
server_name _;
|
server_name _;
|
||||||
|
|
||||||
root /usr/share/nginx/html;
|
root /usr/share/nginx/html;
|
||||||
|
|||||||
Reference in New Issue
Block a user