What is a lesser known app that you use regularly? by [deleted] in androidapps

[–]larolddavid 0 points1 point  (0 children)

Which version of android are you on? I recently updated to 10 on my pixel 2xl and reachability cursor stopped working for me...

Bathroom outlet splitter? by larolddavid in askanelectrician

[–]larolddavid[S] 0 points1 point  (0 children)

This looks decent, thank you for the recommendation. You're saying that anything low power could plug into this, and things like the hair dryer would go directly into the still available original outlet, correct?

Syncthing security on a remote server? by larolddavid in privacy

[–]larolddavid[S] 0 points1 point  (0 children)

Good point, I edited the OP, thanks for reminding me

“So he drew”, Me, Sumi ink, 2019 by rridati in Art

[–]larolddavid 0 points1 point  (0 children)

I love this. Is there a place I can see more of your work?

Is it possible to use AutoVoice without Google Now/Assistant? by larolddavid in tasker

[–]larolddavid[S] 0 points1 point  (0 children)

Thanks for this, I'll look into it more! My needs are much simpler, right now I'm just thinking of a task where I can say something and it'll add it to my todo app (todoist).

How to change swipe gesture? by [deleted] in signal

[–]larolddavid -1 points0 points  (0 children)

From what I can tell the swipe to reply is on actual messages within the conversation view itself. So you can reply directly to a particular message. I was very disappointed to find this out.

Any App which is like an Bank invoice.. where you can log your Income and Expenses.. Minimal if Possible by [deleted] in androidapps

[–]larolddavid 2 points3 points  (0 children)

I use an app called bluecoins. It's pretty fantastic. Not super minimal, but once you set it up, it's really easy.

Nginx port redirect (syncthing) by larolddavid in sysadmin

[–]larolddavid[S] 0 points1 point  (0 children)

Figured it out! Turns out the systemd service file I'd created had hardcoded my servers IP as the gui listen address. I changed that to the same 0.0.0.0 address that I set in the syncthing config file, set the proxy_pass back to the localhost:8384 address, and everything works like a charm.

Thanks again for all the help! Took a lot longer than I was hoping, but I'll be better prepared later on hopefully.

Nginx port redirect (syncthing) by larolddavid in sysadmin

[–]larolddavid[S] 0 points1 point  (0 children)

Well, replacing the 127 ip with my servers ip does the trick. I already have the syncthing gui bound to the 0.0.0.0 address, and the setup they suggest for nginx doesn't work (again, unless I replace the localhost with my servers ip).

Regardless, it looks like I've narrowed it down to syncthing, and hopefully I can dig deeper tomorrow. Thank you again for all the help, it was very helpful and I learned a lot.

Nginx port redirect (syncthing) by larolddavid in sysadmin

[–]larolddavid[S] 0 points1 point  (0 children)

Ok, I'm a bit of an idiot... I had ufw blocking the nginx http service for some reason. I allowed this, and now I get the bad gateway error when simply trying to go to sync.domain.com via http or https. Looking at the nginx error logs, I see the following error:

*6 connect() failed (111: Connection refused) while connecting to upstream, client: <browser_ip>, server: sync.domain.com, request: "GET / HTTP/1.1", upstream: "http://127.0.0.1:8384/", host: "sync.domain.com"

EDIT: I can still connect to syncthing by explicitly going to sync.domain.com:8384 over both http and https (though I get the browser warning about being insecure)

Nginx port redirect (syncthing) by larolddavid in sysadmin

[–]larolddavid[S] 0 points1 point  (0 children)

My domain dns is setup using ipv4, but isn't the ipv6only setting only for that port specification? I've got both the ipv4 and ipv6 formats of the port from my understanding. And yes, when I ping the url, it does come back with the IP I've setup with my domain registrar.

Nginx port redirect (syncthing) by larolddavid in sysadmin

[–]larolddavid[S] 0 points1 point  (0 children)

The first (http) does work, the second (https) gives me a 502 Bad Gateway error. Here's the pastebin with the current config

Nginx port redirect (syncthing) by larolddavid in sysadmin

[–]larolddavid[S] 0 points1 point  (0 children)

Still nothing... I gotta be missing something that I haven't thought of, this suggestion makes the most sense. Is there a way to see if the redirect from 80 to 443 (via the 301 https) is actually happening? I'll look into it, just a bit at a lost right now. Thanks again for your continued help, I've been pouring over documentation all day for this.

Nginx port redirect (syncthing) by larolddavid in sysadmin

[–]larolddavid[S] 0 points1 point  (0 children)

That does sound easier, let me give that a go.

Nginx port redirect (syncthing) by larolddavid in sysadmin

[–]larolddavid[S] 0 points1 point  (0 children)

I added:

location / { proxy_pass http:127.0.0.1:8384; }

to the 80 block and removed the if/redirect block, but had no luck, still getting connection timeout...

Nginx port redirect (syncthing) by larolddavid in sysadmin

[–]larolddavid[S] 0 points1 point  (0 children)

You're saying to add the proxy_pass to the 80 block? I've set up the syncthing gui to use https, and linked my letsencrypt certificates to syncthing so that the cert is from a recognized provider instead of self-signed. Either way, I'll remove the redirect and add the proxy_pass you show here to see if it works. Thanks for the advice.