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:
parent
2979b191cc
commit
996c93e597
1 changed files with 0 additions and 4 deletions
|
@ -17,10 +17,6 @@ location __PATH__/ {
|
||||||
}
|
}
|
||||||
|
|
||||||
location __PATH__/embed/ {
|
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_pass http://127.0.0.1:__PORT__/embed/;
|
||||||
proxy_redirect off;
|
proxy_redirect off;
|
||||||
|
|
Loading…
Add table
Reference in a new issue