Closed vgiotsas closed 6 years ago
Hi there, Thank you for reporting! I'm afraid uppy-server does not handle https
itself. At least not yet. Instead, to use https with uppy-server, you can use a proxy-server such as nginx, or haproxy, which will handle the ssl/tsl business and then forward the request to uppy-server which you would have running internally. This is the way it is done with server.uppy.io
the UPPYSERVER_PROTOCOL
option is rather to inform uppy about what protocol your server is using, it is not to used to enable https
as you might have earlier thought.
Sorry for the mixup.
closing this since the question has been answered
I'm trying to start the standalone uppy-servrer using HTTPS. Before starting the server I set the following environment variable:
But then when I run
npm start
the server uses HTTP, also shown in the server output;:Do I need to set any other configuration option?
I installed a server letsencrypt SSL certificate using certbot for apache as documented below: https://certbot.eff.org/lets-encrypt/ubuntuxenial-apache