Skip to content

Commit

Permalink
change mountpoint to global
Browse files Browse the repository at this point in the history
  • Loading branch information
TPC committed Mar 27, 2024
1 parent cbd4768 commit 6c6c04f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ services:
restart: always
volumes:
- ./nginx.conf:/etc/nginx/nginx.conf
- ./ssl-cert/fullchain.pem:/etc/letsencrypt/live/tpc.iiti.ac.in/fullchain.pem
- ./ssl-cert/privkey.pem:/etc/letsencrypt/live/tpc.iiti.ac.in/privkey.pem
- /etc/letsencrypt/live/tpc.iiti.ac.in/fullchain.pem:/cert/fullchain.pem
- /etc/letsencrypt/live/tpc.iiti.ac.in/privkey.pem:/cert/privkey.pem
ports:
- 80:80
- 443:443
Expand Down
4 changes: 2 additions & 2 deletions nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ http{
listen 443 ssl;
server_name tpc.iiti.ac.in;

ssl_certificate /etc/letsencrypt/live/tpc.iiti.ac.in/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/tpc.iiti.ac.in/privkey.pem;
ssl_certificate /cert/fullchain.pem;
ssl_certificate_key /cert/privkey.pem;
server_tokens off;

gzip on;
Expand Down

0 comments on commit 6c6c04f

Please sign in to comment.