From bf1abc145015d78610746bf9ce46d3bd93f1fe8d Mon Sep 17 00:00:00 2001 From: Sacha Chua Date: Tue, 17 Oct 2023 11:59:43 -0400 Subject: update upload --- roles/upload/templates/config.production.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'roles/upload/templates/config.production.js') diff --git a/roles/upload/templates/config.production.js b/roles/upload/templates/config.production.js index b3b1e4b..052d1ef 100644 --- a/roles/upload/templates/config.production.js +++ b/roles/upload/templates/config.production.js @@ -16,8 +16,8 @@ const config = { "port": 3000, // HTTPS, set all 3 values to enable "sslPort": "{{ upload_ssl_port }}", - "sslKeyFile": "{{ upload_ssl_key }}", - "sslCertFile": "{{ upload_ssl_cert }}", + "sslKeyFile": "/home/{{ upload_user }}/privkey.pem", + "sslCertFile": "/home/{{ upload_user }}/fullchain.pem", // Force redirect to https // can be true or a specific url like https://example.com:8443 // keep empty to disable -- cgit v1.2.3