Skip to content

Miscellaneous

Evgeny edited this page Feb 5, 2024 · 10 revisions

No hosting devices

Try this Magisk module

nginx rewrite for okhttp

Use this snippet if you decided to self-host a repository with a website and you wanna access repo.json only by hostname via DriveDroid app since it uses okhttp. Place the next lines in server section of your config.

location = / {
  if ($http_user_agent ~* 'okhttp') {
    rewrite ^/(.*)$ /repo.json break;
  }
}
Clone this wiki locally