niccokunzmann / mundraub-android

📱Android App for Mundraub, Na-Ovoce and other fruit maps
https://f-droid.org/en/packages/eu.quelltext.mundraub/
GNU General Public License v3.0
33 stars 22 forks source link

Cannot update na ovoce with insecure connections #231

Closed niccokunzmann closed 5 years ago

niccokunzmann commented 5 years ago

I have an old phone. I can not update na-ovoce.cz because the Nginx server crashes from time to time because it can not reach na ovoce.

server {
        server_name na-ovoce.quelltext.eu;

        listen   80;

#       access_log off;

        # see this for the proxy: https://docs.nginx.com/nginx/admin-guide/web-server/reverse-proxy/
        # why this is here https://github.com/niccokunzmann/mundraub-android/pull/113#discussion_r217230294
        location /api/ {
                proxy_pass https://na-ovoce.cz/api/;
        }
}

error message:

nginx: [emerg] host not found in upstream "na-ovoce.cz" in /etc/nginx/sites-available/na-ovoce.quelltext.eu:11
niccokunzmann commented 5 years ago

fixed by https://github.com/niccokunzmann/mundraub-android/commit/e3fd2715b40665f1f612a69a7fe3623e9eb328c7 through documentation.