ISSUE-296 add CORS

This commit is contained in:
Andrea Spacca
2020-04-04 14:29:33 +02:00
parent 2dd23bff3c
commit ef28bcb28f
5 changed files with 36 additions and 1 deletions

View File

@@ -106,6 +106,7 @@ gdrive-local-config-path | path to store local transfer.sh config cache for gdri
gdrive-chunk-size | chunk size for gdrive upload in megabytes, must be lower than available memory (8 MB) | |
lets-encrypt-hosts | hosts to use for lets encrypt certificates (comma seperated) | |
log | path to log file| |
cors-domains | comma separated list of domains for CORS, setting it enable CORS | |
If you want to use TLS using lets encrypt certificates, set lets-encrypt-hosts to your domain, set tls-listener to :443 and enable force-https.