1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/invidious_ynh.git synced 2024-09-03 19:15:55 +02:00
invidious_ynh/conf/nginx.conf
Éric Gaspar 6f8eb26730
Testing (#122)
* Cleaning up

* Patch

* Fix

* Fix

* Fix

* Update manifest.json

* Update upgrade

* Fix

* Preserve config file and protect it

* Fix permissions

* Fix

* Fix

* fix

* Update README.md (#28)

.yml iso .yaml file

* Fix

* Update install

* [autopatch] Update issue and PR templates (#32)

Co-authored-by: Yunohost-Bot <>

* [autopatch] Update issue and PR templates (#33)

Co-authored-by: Yunohost-Bot <>

* Fix

* Fix

* Update install

* Auto-update README

* Update install

* Fix

* Update _common.sh

* Fix

* Auto-update README

* Fix

* Fix

* Create change_url

* Fix

* Update nginx.conf

* Update check_process

* Auto-update README

* Auto-update README

* upgrade crystal

* Auto-update README

* Update restore

* Update upgrade

* Update upgrade

* Revert "Update upgrade"

This reverts commit f533eb02cb.

* Update upgrade

* Update check_process

* Add limitations

* Auto-update README

* New config file (#44)

* Add config

* Update check_process

* From git commit (#46)

* from commit

* Fix doc link

* Auto-update README

* Update upgrade

* Update config.yml

* Update manifest.json

* Auto-update README

* Version bump (#54)

* upgrade

* Update restore

* Add description

* Auto-update README

* config.yml may not exist during upgrade (#58)

* Update systemd.service

* Update manifest.json

* Update manifest.json

* Auto-update README

* Reorder

* Update _common.sh

* Fix

* Update Crystal (#63)

* Update Crystal

* Update install

* Fix

* Update _common.sh

* Update _common.sh

* 4.3

* Auto-update README

* Upgrade

* Auto-update README

* Config panel (#72)

* Add config panel

* Update _common.sh

* Fix

* Auto-update README

* upgrade to upstream

* Auto-update README

* Update _common.sh

* Update manifest.json

* Auto-update README

* Update _common.sh

* Update manifest.json

* Auto-update README

* Bugfix #77 by replace "shards" command (#79)

* Bugfix #77 by "shards install" with "--production"

See: https://github.com/iv-org/invidious/issues/2918#issuecomment-1048146335

* Upgrade to upstream

* Auto-update README

* Update check_process

* 22.03.03

* Auto-update README

* Add admin (#74)

* Add admin
* add email

* Auto-update README

* Fix

* Update upgrade

* Update _common.sh

* Update _common.sh

* Update manifest.json

* Auto-update README

* Fix

* Update install

* Fix

* Fix

* Auto-update README

* Update upgrade

* Revert "Update upgrade"

This reverts commit a1dce069b4.

* upgrade to upstream

* Auto-update README

* Upgrade to upstream

* Auto-update README

* upgrade to upstream

* Auto-update README

* Update _common.sh

* Auto-update README

* Upgrade to upstream

* Auto-update README

* upgrade

* Auto-update README

* Update _common.sh

* Update manifest.json

* Auto-update README

* Auto-update README

* Auto-update README

* Upgrade to upstream

* Auto-update README

* Upgrade to upstream

* Revert "Upgrade to upstream"

This reverts commit dc91a2696e.

* Update _common.sh

* Update manifest.json

* Auto-update README

* Upgrade to upstream

* Auto-update README

* upgrade to upstream

* Auto-update README

* Upgrade to upstream

* Auto-update README

* Upgrade to upstream

* Auto-update README

* Upgrade

* Auto-update README

* Upgrade to upstream

* Auto-update README

* Auto-update README

* Upgrade to upstream

* Auto-update README

* Fix

* Auto-update README

* Fix

* Update to upstream

* Auto-update README

* Update install

* Update install

* Update install

* Auto-update README

* Update install

* Update install

* Update install

* Update install

* Update install

* Update install

* Update install

* Update install

* upgrade to upstream

* Auto-update README

* Update upgrade

* Version 2 (#112)

* v2

* v2

* Auto-update README

* Update manifest.toml

Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org>

* Update install

* fix

* Update manifest.toml

* Fix

* Fix

* Auto-update README

* Update manifest.toml

* Update manifest.toml

* Update tests.toml

* Update upgrade

* Fix

---------

Co-authored-by: yunohost-bot <yunohost@yunohost.org>
Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org>

* Update install

* Update _common.sh

* remove Crystal

* Auto-update README

* cleaning

* upgrade to upstream

* Update manifest.toml

* Auto-update README

* fix

* Update _common.sh

* Update manifest.toml

* Auto-update README

* update

* Auto-update README

* 04.05.23

* Auto-update README

* cleaning

* Update nginx.conf

* Update config.yml

* Update _common.sh

* Update manifest.toml

* Auto-update README

* Update install

* Update install

* Sql (#123)

* Auto-update README

* Update install

* fix

* fix

* Delete .DS_Store

* Update install

* Update install

* Update install

* Update install

* Update config.yml

* Update DESCRIPTION_fr.md

* Auto-update README

* Update manifest.toml

* Auto-update README

* Update install

* Update install

---------

Co-authored-by: yunohost-bot <yunohost@yunohost.org>

* cleaning

* Update upgrade

* fix

---------

Co-authored-by: clavelc <25869334+clavelc@users.noreply.github.com>
Co-authored-by: YunoHost Bot <yunohost-bot@users.noreply.github.com>
Co-authored-by: Yunohost-Bot <>
Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org>
Co-authored-by: Jens Diemer <github.com@jensdiemer.de>
Co-authored-by: yunohost-bot <yunohost@yunohost.org>
Co-authored-by: yalh76 <yalh@yahoo.com>
2023-05-20 18:09:04 +02:00

24 lines
838 B
Nginx Configuration File

#sub_path_only rewrite ^__PATH__$ __PATH__/ permanent;
location __PATH__/ {
proxy_pass http://127.0.0.1:__PORT__;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header Host $host; # so Invidious knows domain
proxy_http_version 1.1; # to keep alive
proxy_set_header Connection ""; # to keep alive
# Include SSOWAT user panel.
include conf.d/yunohost_panel.conf.inc;
}
location __PATH__/embed/ {
proxy_pass http://127.0.0.1:__PORT__/embed/;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header Host $host; # so Invidious knows domain
proxy_http_version 1.1; # to keep alive
proxy_set_header Connection ""; # to keep alive
more_set_headers "X-Frame-Options : ALLOWALL";
more_set_headers "Content-Security-Policy : upgrade-insecure-requests ; frame-ancestors * ";
}