Description
Hi,
I have these settings as default in webdav:
danobe.dev {
# Set this path to your site's directory.
#root * /usr/share/caddy
# Enable the static file server.
#file_server
# Another common task is to set up a reverse proxy:
reverse_proxy localhost:5000
# Or serve a PHP site through php-fpm:
# php_fastcgi localhost:9000
}
I tried by know all different choices with webdav and tutorials in the internet, but I can't get it to work.
This are the fields I have to enter in the image.
I'm not really familiar with webdav, it seems to be the only convinient way to deploy my application.
I have a linux server with the path /var/www/personalWebsite into which I would like to deploy my application.
It works via scp and rsync but it looks like I'm to dumb to get it to work with debdav.
Could you provide a clear explanation on how I have to change the caddy configuration file?
Like I've said I tried all possible combinations but I couldn't get it to work...
And how do I restrict the access, is this like a public ftp where everyone can deploy files?
I've read this here, and here it get's shown I have to create a password hash, but I don't know if this is necessary?
https://marko.euptera.com/posts/caddy-webdav.html
That would be very kind of you,
kind regards
greets from Italy,
Daniel