Skip to content

Commit

Permalink
fixed nginx setting
Browse files Browse the repository at this point in the history
  • Loading branch information
VladislavCR committed Feb 23, 2024
1 parent ba16e14 commit 4e8d524
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion infra/docker-compose-prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ services:
nginx:
image: ${DOCKERHUB_USERNAME}/${PROJECT_NAME}_nginx:latest
ports:
- "80:80"
- "8000:80"
- "443:443"
volumes:
- static_volume:/static
Expand Down
2 changes: 1 addition & 1 deletion infra/nginx/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
FROM nginx:1.22.1
FROM nginx:latest
COPY nginx.conf /etc/nginx/templates/default.conf.template
2 changes: 1 addition & 1 deletion infra/nginx/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ server {
listen 80;
listen [::]:80;

server_name 89.23.117.80,127.0.0.1;
server_name 89.23.117.80;

# listen 443 ssl; # managed by Certbot
# ssl_certificate /etc/letsencrypt/live/alfabankhack.ddns.net/fullchain.pem; # managed by Certbot
Expand Down

0 comments on commit 4e8d524

Please sign in to comment.