'Nextcloud + lighttpd setup' help needed

:stuck_out_tongue: > Yes I know it , but the rest of the world doesn’t, so port 80 is forwarded from the WWW to the standard lighttpd webinterface

How to secure this?

Activate SSL/HTPS using dietpi-letsencrypt and forward port 443 on your router as well.

an answer…

j0nnymoe — Today at 10:59 AM
@hemertje generally we recommend installing it via docker
But if you plan to do it without, then yes you need a webserver

not really. The need to a web server is clear. More the question if it can run with a sub path :wink:

do you mean like server.com/heimdall?

do you mean like server.com/heimdall?

yes

HackitZ(42) — Today at 3:01 AM
subdomain would look like > http://heimdall.server.com/ > where subfolder would look like > http://server.com/heimdall> . the reverse proxy if using swag is located appdata/swag/nginx/proxy-confs in this folder are all the proxy confs for the apps. this is what mine looks like (/srv/dev-disk-by-uuid-c02f9840-5c78-47e3-9277-345213d858b3/appdata/swag:/config)



Blue_Yoshi2015 — Today at 4:47 PM
@HackitZ(42) Has it right. You just need to configure SWAG by changing the proxy-conf file for Heimdall. Be sure to use the subfolder one for server.com/heimdall, rather than the subdomain one heimdall.server.com

well if we like to implement Haimdall on DietPi, it would need to run without any proxy. It should support sub path ootb directly on the web server :wink:

Ah and it should work without docker :sunglasses:

hemertje — Yesterday at 4:58 PM
What to change in the proxy-conf file for Heimdall.?



Blue_Yoshi2015 — Today at 2:49 AM
So there is a trick to Heimdall specifically. If you are using any authentication, which you should, set that in the heimdall conf file. But you have to make a change to the default file as well.
@hemertje in the site-confs folder. I think it’s lines 37 and 50 that need to be commented out, as well as any lines between that contain code.
@hemertje There’s actually a sample in that file starting on line 126. You’ll just have to configure it for whatever authentication you are using. But is there a reason you want to use heimdall in a subfolder in the first place?

hemertje — Today at 1:36 PM
Hi Mr Blue > :wink: > can Heimdall run without any proxy. Is it supporting sub path ootb directly on the web server?



Blue_Yoshi2015 — Today at 1:59 PM
I’m not sure. I would highly recommend a reverse proxy for web apps like sonarr, radarr, etc. It isn’t exactly secure to host them without.



Blue_Yoshi2015 — Today at 2:24 PM
Although, you could probably use Heimdall without it, using the full address and port "> http://server.com:0000/> "

looks like you are running in a circle with the guys from Heimdall :slight_smile:

I mean in your case it might be the easiest to run Heimdall indeed inside Docker to avoid to many conflicts with DietPi setup for lighttpd.