Skip to content

Commit

Permalink
Update nginx.conf
Browse files Browse the repository at this point in the history
  • Loading branch information
web-team-iiti authored Feb 5, 2024
1 parent f668988 commit 95d6b82
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,11 @@ http{

server {
listen 80;
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;
server_tokens off;

gzip on;
Expand Down Expand Up @@ -74,4 +78,4 @@ stream {
proxy_socket_keepalive on;
proxy_pass db:5432;
}
}
}

0 comments on commit 95d6b82

Please sign in to comment.