Skip to content

Commit

Permalink
Change Nginx server port from 80 to 8080 in Dockerfile and default co…
Browse files Browse the repository at this point in the history
…nfiguration
  • Loading branch information
EliasDeHondt committed Jan 13, 2025
1 parent 75abe96 commit 5bb3ded
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ COPY ./manifest.json /usr/share/nginx/html/manifest.json
COPY ./robots.txt /usr/share/nginx/html/robots.txt
COPY ./sitemap.xml /usr/share/nginx/html/sitemap.xml

EXPOSE 80
EXPOSE 8080

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

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

0 comments on commit 5bb3ded

Please sign in to comment.