1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/invidious_ynh.git synced 2024-09-03 19:15:55 +02:00

Update nginx.conf

This commit is contained in:
ericgaspar 2022-01-14 18:53:59 +01:00
parent 2979b191cc
commit 996c93e597
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -17,10 +17,6 @@ location __PATH__/ {
}
location __PATH__/embed/ {
# Force usage of https
if ($scheme = http) {
rewrite ^ https://$server_name$request_uri? permanent;
}
proxy_pass http://127.0.0.1:__PORT__/embed/;
proxy_redirect off;