Skip to content

Commit eae8d44

Browse files
committed
updated prod nginx config
1 parent 2d4e39c commit eae8d44

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

deploy/prod-node/nginx/nginx.conf

+13
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,19 @@ http {
1616
}
1717
}
1818

19+
server {
20+
listen 443 ssl http2;
21+
22+
server_name www.open-assistant.io;
23+
24+
ssl_certificate /etc/nginx/ssl/live/www.open-assistant.io/fullchain.pem;
25+
ssl_certificate_key /etc/nginx/ssl/live/www.open-assistant.io/privkey.pem;
26+
27+
location / {
28+
return 301 https://open-assistant.io$request_uri;
29+
}
30+
}
31+
1932
server {
2033
listen 443 ssl http2;
2134

0 commit comments

Comments
 (0)