Offline Fdroid server setup

i am trying to create an offline srever setup for some APK’s that are not on the google play store. i get everything setup on the fdroidserver side however on the Nginix side it where i am having issues in the Mirror doc page it says setup a repo here: " ```

$ sudo mkdir -p /var/www/fdroid/fdroid/repo
$ sudo mkdir -p /var/www/fdroid/fdroid/archive
$ sudo chown -R www-data.www-data /var/www/fdroid"

but when i go to the this site to create the server https://f-droid.org/en/docs/Setup_an_F-Droid_App_Repo/
it shows this as the setup:

> sudo mkdir /usr/share/nginx/www/fdroid
> sudo chown -R $USER /usr/share/nginx/www/fdroid
> cd /usr/share/nginx/www/fdroid
> fdroid init

which one do i use? or a better question is, is there a VM/OVA file out there to have a redy made server setup for someone to use?

thank you

1 Like

Look at the nginx config file to see which is the correct path for the default document root,

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.