Skip to content

Commit

Permalink
Change Nginx server port from 80 to 8080 in Dockerfile and default.conf
Browse files Browse the repository at this point in the history
  • Loading branch information
EliasDeHondt committed Feb 27, 2025
1 parent a5b2fd9 commit df8fb1c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion App/Frontend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ COPY ./default.conf /etc/nginx/conf.d/default.conf

COPY ./dist/frontend/browser /usr/share/nginx/html

EXPOSE 80
EXPOSE 8080

CMD ["nginx", "-g", "daemon off;"]
2 changes: 1 addition & 1 deletion App/Frontend/default.conf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# @since 01/01/2025 #
############################
server {
listen 80;
listen 8080;
server_name localhost;

root /usr/share/nginx/html;
Expand Down

0 comments on commit df8fb1c

Please sign in to comment.