Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[New instance] https://invidious.darkness.services #537

Open
9 tasks done
blade10101 opened this issue Apr 17, 2024 · 8 comments
Open
9 tasks done

[New instance] https://invidious.darkness.services #537

blade10101 opened this issue Apr 17, 2024 · 8 comments
Assignees
Labels
instance-add passed-checks Passed the required manual checks for a public instance wait-30-days Wait 30 days good uptime

Comments

@blade10101
Copy link

URL

https://invidious.darkness.services

Mandatory checks

  • Instance has a domain name
  • Instance is served over HTTPS
  • Statistics (/api/v1/stats) are enabled
  • Instance is properly configured (including the mandatory post install configuration)
  • Instance has an automatic hourly restart setup of Invidious
  • If dash, proxy + download is enabled (default settings), the instance has unlimited traffic/bandwidth or close to unlimited (100TB minimum)
  • Instance is not running any kind of analytics

Maintainer chart

  • Ensure that my instance is up to date (less than one month old)
  • Ensure a proper uptime of my instance (around 90%)

Host country

United States

Man in the Middle

CloudFlare

Source code URL

No response

Additional information

10 Gbit Connection

Copy link

Domain not detected in the title, please edit the title by correcting it like this:
Issue title example: [New instance] https://myinstance.com

@blade10101 blade10101 changed the title [New instance] <instance name> [New instance] <https://invidious.darkness.services> Apr 17, 2024
@blade10101 blade10101 changed the title [New instance] <https://invidious.darkness.services> [New instance] https://invidious.darkness.services Apr 17, 2024
@unixfox unixfox closed this as completed Apr 17, 2024
@unixfox unixfox reopened this Apr 17, 2024
Copy link

github-actions bot commented Apr 17, 2024

Hello! Your instance has been added to our monitoring system:

You need to wait 30 days before we add your instance, this is to evaluate that your instance will keep a good uptime for one month.

Make sure you double checked all the mandatory checks or this will slow down the process of adding your instance!

Please consult these two important tutorials:

It is highly recommended to follow these tutorials because it will allow the instance to stay stable and performant over the long term.

When your instance is added to the instances list, please consider joining the Matrix room for public instance maintainers by joining our Matrix room: https://matrix.to/#/#invidious:matrix.org
and pinging @ unixfox, @ TheFrenchGhosty and @ SamantazFox to ask to be invited to it.
We discuss troubles managing a public instance, we share some advices, we warn you in advance of potential security issues and more.

@github-actions github-actions bot added the wait-30-days Wait 30 days good uptime label Apr 17, 2024
@perennialtech
Copy link
Collaborator

@blade10101 Thanks for submitting your instance. However, you need to address the following before it can be added after the 30 day wait for uptime:

  • Please disable Cloudflare JavaScript detections on your instance.
    <script>
      (function () {
        if (!document.body) return;
        var js =
          "window['__CF$cv$params']={r:'8779e91e2feb5d21',t:'MTcxMzY2NjE5MS43NDcwMDA='};_cpo=document.createElement('script');_cpo.nonce='',_cpo.src='/cdn-cgi/challenge-platform/scripts/jsd/main.js',document.getElementsByTagName('head')[0].appendChild(_cpo);";
        var _0xh = document.createElement("iframe");
        _0xh.height = 1;
        _0xh.width = 1;
        _0xh.style.position = "absolute";
        _0xh.style.top = 0;
        _0xh.style.left = 0;
        _0xh.style.border = "none";
        _0xh.style.visibility = "hidden";
        document.body.appendChild(_0xh);
        function handler() {
          var _0xi = _0xh.contentDocument || _0xh.contentWindow.document;
          if (_0xi) {
            var _0xj = _0xi.createElement("script");
            _0xj.innerHTML = js;
            _0xi.getElementsByTagName("head")[0].appendChild(_0xj);
          }
        }
        if (document.readyState !== "loading") {
          handler();
        } else if (window.addEventListener) {
          document.addEventListener("DOMContentLoaded", handler);
        } else {
          var prev = document.onreadystatechange || function () {};
          document.onreadystatechange = function (e) {
            prev(e);
            if (document.readyState !== "loading") {
              document.onreadystatechange = prev;
              handler();
            }
          };
        }
      })();
    </script>
  • As the GitHub bot mentioned, make sure that you've followed https://docs.invidious.io/ipv6-rotator/ and https://docs.invidious.io/improve-public-instance/.
  • While it's not required, consider removing the X-XSS-Protection header, since it's been deprecated for a while now and no modern browser supports it.

@perennialtech perennialtech added the failed-checks Failed the required manual checks for a public instance label Apr 21, 2024
@blade10101
Copy link
Author

blade10101 commented Apr 21, 2024 via email

@perennialtech
Copy link
Collaborator

perennialtech commented Apr 22, 2024

@blade10101 Your instance looks good now, but just a heads up that you're actually setting the X-XSS-Protection header twice, rather than removing it entirely.

headers

If you're using nginx, consider using the more_clear_headers directive from the ngx_headers_more module to properly remove the header.

@perennialtech perennialtech added passed-checks Passed the required manual checks for a public instance and removed failed-checks Failed the required manual checks for a public instance labels Apr 22, 2024
@blade10101
Copy link
Author

blade10101 commented Apr 22, 2024 via email

@unixfox
Copy link
Member

unixfox commented Apr 22, 2024

You don't need to do anything with the header. Please remove any modification that you are doing for the header X-XSS-Protection on your nginx.
Thank you.

@blade10101
Copy link
Author

blade10101 commented Apr 22, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
instance-add passed-checks Passed the required manual checks for a public instance wait-30-days Wait 30 days good uptime
Projects
None yet
Development

No branches or pull requests

4 participants