ShareX-Upload-Server icon indicating copy to clipboard operation
ShareX-Upload-Server copied to clipboard

Add config setting to overwrite http/https prefix on return adress

Open mangosd1337 opened this issue 4 years ago • 3 comments

It would be a good idea to have a setting to always return the https prefix even when the application is running with the "secure": false setting. If you run Nginx as a reverse proxy to handle the HTTPS stuff for you and run the actual app in HTTP mode, you get a link prefixed with http, even though your actual connection to the server from the outside is done securely. The current bypass is to regex the ShareX return adress to have http://(.*) in the Regex-List and https://$regex:1|1$ in the URL and Thumbnail URL field in your custom uploader settings.

mangosd1337 avatar Aug 17 '20 13:08 mangosd1337

Probably, but you could just leave secure set to true. It will still run and return https without detecting SSL certs

TannerReynolds avatar Aug 17 '20 15:08 TannerReynolds

For me it straight up refused to return anything when it wasnt detecting certs. Will try with newest commit.

mangosd1337 avatar Aug 17 '20 15:08 mangosd1337

+1 i have the same problem. It also doesnt work on secure mode.

AroPix avatar Jun 30 '21 12:06 AroPix