1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/jellyfin_ynh.git synced 2024-09-03 19:26:29 +02:00

Update nginx.conf

This commit is contained in:
liberodark 2020-05-31 14:06:27 +02:00 committed by GitHub
parent 31f15101dc
commit bf6f5d8ced
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -21,4 +21,9 @@
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $http_connection;
# Force usage of https
if ($scheme = http) {
rewrite ^ https://$server_name$request_uri? permanent;
}
}