Une tentative de paquetage d'Invidious pour YunoHost
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
350B

  1. #sub_path_only rewrite ^__PATH__$ __PATH__/ permanent;
  2. location __PATH__/ {
  3. # Path to source
  4. #alias __FINALPATH__/ ;
  5. # Force usage of https
  6. if ($scheme = http) {
  7. rewrite ^ https://$server_name$request_uri? permanent;
  8. }
  9. # Include SSOWAT user panel.
  10. include conf.d/yunohost_panel.conf.inc;
  11. proxy_pass http://localhost:3000;
  12. }