Skip to content

Commit

Permalink
upd
Browse files Browse the repository at this point in the history
  • Loading branch information
progof committed Jan 3, 2025
1 parent 4be7c7d commit 069ee75
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .nginx/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,19 @@ http {
}
}

server {
listen 8080;
server_name mydarkhobby.com www.mydarkhobby.com;

location /.well-known/acme-challenge/ {
root /var/www/certbot;
}

location / {
proxy_pass http://landing:8080/;
}
}

server {
listen 443 ssl;
server_name altloc.com www.altloc.com;
Expand Down
12 changes: 12 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,18 @@ services:
networks:
- dev

landing:
build:
context: ./landing
dockerfile: Dockerfile
target: landing
ports:
- "8080:80"
volumes:
- .nginx/nginx.conf:/etc/nginx/nginx.conf
networks:
- dev

postgres:
image: postgis/postgis:14-3.4-alpine
restart: always
Expand Down

0 comments on commit 069ee75

Please sign in to comment.