What is Nostr?
Bill St. Clair /
npub15hr…yad2
2025-03-07 12:59:23
in reply to nevent1q…ej2m

Bill St. Clair on Nostr: When I tried to restart nginx, I got a "duplicate upstream" error (in ...

When I tried to restart nginx, I got a "duplicate upstream" error (in /var/log/syslog, not the other two places). The problem was that I edited /etc/nginx/sites-enabled/ditto.conf with emacs, not nano, and it created ditto.conf~. I recommend changing your instructions to adding ditto.conf to /etc/nginx/sites-available, and then `ln -s /etc/nginx/sites-available/ditto.conf /etc/nginx/sites-enabled/`.

The instructions for installing nak need to be better. The release in the git repository is an executable file. It needs to have its execute bits set, renamed to "nak", and moved to some place in the PATH. Also, it didn't work to just "curl -O <url>" to my server. I got a zero-length file. Instead, I had to download it to my machine, and copy from there to the server.

In Section 3.b, you need to specify that the user should type 1 at the "Please choose whether or not to redirect HTTP traffic to HTTPS, removing HTTP access" prompt, "No redirect".

It did NOT work in the latest LTS Ubuntu, 24.04. I had to use 24.10. That does NOT ask about HTTPS redirection. I guess their code to recognize existing redirection is better.

A reinstall made it work at ditto.impeccable.social. Yay!
Author Public Key
npub15hrlcd8y620mwu7u6xy2adhgp7ngmuu00lfks6fdldyz2luyuhpqn3yad2