I tried to add what’s in the docs.syncthing using the GUI but it failed, I wasn’t sure if I should modify something inside the ngnix docker container or not.
In Syncthing logs the difference between success and fail
Success
<span style="color:#323232;">2024-04-29 00:46:58 http: POST "/rest/noauth/auth/password": status 204, 0 bytes in 62.48 ms
</span><span style="color:#323232;">2024-04-29 00:46:58 http: GET "/rest/events?since=174": status 200, 240 bytes in 54538.81 ms
</span><span style="color:#323232;">2024-04-29 00:46:58 http: GET "/": status 304, 0 bytes in 0.00 ms
</span><span style="color:#323232;">2024-04-29 00:46:58 http: GET "/vendor/bootstrap/css/bootstrap.css": status 304, 0 bytes in 1.24 ms
</span><span style="color:#323232;">2024-04-29 00:46:58 http: GET "/vendor/daterangepicker/daterangepicker.css": status 304, 0 bytes in 0.00 ms
</span><span style="color:#323232;">2024-04-29 00:46:58 http: GET "/vendor/fork-awesome/css/fork-awesome.css": status 304, 0 bytes in 0.00 ms
</span><span style="color:#323232;">2024-04-29 00:46:58 http: GET "/assets/font/raleway.css": status 304, 0 bytes in 0.00 ms
</span>
Fail
<span style="color:#323232;">2024-04-29 00:44:09 http: POST "/rest/noauth/auth/password": status 403, 10 bytes in 237.16 ms
</span><span style="color:#323232;">2024-04-29 00:44:09 http: GET "/modal.html": status 304, 0 bytes in 0.00 ms
</span><span style="color:#323232;">2024-04-29 00:44:09 http: GET "/syncthing/core/editShareTemplate.html": status 304, 0 bytes in 0.07 ms
</span><span style="color:#323232;">2024-04-29 00:44:10 http: POST "/rest/noauth/auth/password": status 204, 0 bytes in 85.43 ms
</span><span style="color:#323232;">2024-04-29 00:44:11 http: GET "/": status 304, 0 bytes in 0.00 ms
</span><span style="color:#323232;">2024-04-29 00:44:11 http: GET "/rest/svc/lang": status 200, 22 bytes in 0.00 ms
</span>
Does syncthing have a domain name specified I can’t find an option to do so
In GUI you can change the port of the GUI and that’s what I did, so I can right now actually access it using 192.168.1.2:9101 and it works. Do you have NPM configured in anyway other than pointing? have you made any changes in Syncthing itself to give it a domain name or an address?
I have it set to 0.0.0.0, and I can access it from another pc using the ip:port address. But when I try to access using the domain name it shows the login page but I can’t login, it just refresh the page and I can see the error above in the logs.
Thank you for the* so much wanted advice, it’s one of the reasons I actually posted this, to get advices on how to do things better.
I’ve been trying to do that for a specific service running (firefly) but I can’t figure out what to do exactly, about the domain name, Is there a way to do that without one?
I used chatgpt to create the exact steps, commands and configurations I needed for my setup and achieved this the seemingly cheatful way. I used nginx and certbot. Worked like a charm. Congrats!
It’s impressive that you was able to get it to help you correctly. It usually just spew things i need to fix that’s why I didn’t ask him, thank you for the tip.
Btw did you use a custom local domain name or did you use an actual domain ?
Yea I’m using Homarr, I’ve just finished setting everything up. The only problem I have right now is that I can’t access Syncthing GUI through the domain.
I can access using the local ip but I can’t access using the ssl domain, I can access it but I can’t login for some reason. I can’t figure out how to fix it
[solved] Can’t login to Syncthing GUI with Ngnix Proxy Manager
Edit: Solution is in Nginx I disabled these: Cache Assets, Block Common Exploits, Websockets Support....
Finally got my server to work properly. (Routing with custom local domain instead of ports) (programming.dev)
I spent all day today trying to get the routing to work correctly between Tailscale, Nginx and Adguard....
How are you making services remotely accessible? (kbin.run)
I need help figuring out where I am going wrong or being an idiot, if people could point out where......