Skip to content

Commit

Permalink
updated prod nginx config
Browse files Browse the repository at this point in the history
  • Loading branch information
yk committed Jan 16, 2023
1 parent 2d4e39c commit eae8d44
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions deploy/prod-node/nginx/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,19 @@ http {
}
}

server {
listen 443 ssl http2;

server_name www.open-assistant.io;

ssl_certificate /etc/nginx/ssl/live/www.open-assistant.io/fullchain.pem;
ssl_certificate_key /etc/nginx/ssl/live/www.open-assistant.io/privkey.pem;

location / {
return 301 https://open-assistant.io$request_uri;
}
}

server {
listen 443 ssl http2;

Expand Down

0 comments on commit eae8d44

Please sign in to comment.