Skip to content

Commit

Permalink
https try
Browse files Browse the repository at this point in the history
  • Loading branch information
mittal-ishaan committed Feb 3, 2024
1 parent 4e3a971 commit 6cdcdf9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,7 @@ services:
- 443:443
volumes:
- ./db/db.sqlite3:/app/db.sqlite3
- /etc/letsencrypt/live/diningfee.iiti.ac.in/fullchain.pem:/app/etc/letsencrypt/live/diningfee.iiti.ac.in/fullchain.pem
- /etc/letsencrypt/live/diningfee.iiti.ac.in/privkey.pem:/app/etc/letsencrypt/live/diningfee.iiti.ac.in/privkey.pem
depends_on:
- web
5 changes: 5 additions & 0 deletions nginx/default.conf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,12 @@ upstream django{

server{
listen 80;
listen 443 ssl;
server_name diningfee.iiti.ac.in;

ssl_certificate /etc/letsencrypt/live/diningfee.iiti.ac.in/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/diningfee.iiti.ac.in/privkey.pem;

client_max_body_size 20M;
proxy_set_header HOST $host;
location /{
Expand Down

0 comments on commit 6cdcdf9

Please sign in to comment.