Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
sgalsaleh committed Mar 18, 2024
1 parent cdf293b commit e2defa4
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 14 deletions.
5 changes: 0 additions & 5 deletions nginx/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,3 @@ COPY nginx.conf /etc/nginx/nginx.conf
COPY src/favicon.ico /usr/share/nginx/html/
COPY src/index.htm /usr/share/nginx/html/
COPY src/ttlsh_files /usr/share/nginx/html/ttlsh_files/

ADD entrypoint.sh /entrypoint.sh

ENTRYPOINT ["/entrypoint.sh"]
CMD ["nginx", "-g", "daemon off;"]
7 changes: 0 additions & 7 deletions nginx/entrypoint.sh

This file was deleted.

4 changes: 2 additions & 2 deletions nginx/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ http {
}

server {
listen __PORT__;
server_name router.ttl.sh;
listen <%= ENV["PORT"] %>;
server_name _;

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

0 comments on commit e2defa4

Please sign in to comment.