Hi,
First, thanks for your tuto. I would like to secure my lighttpd serv with owncloud but im a little bit lost cause its not really a website, with domain and etc.
So i dont know what i can do for certificate. Any idea? Thanks.
Hi,
First, thanks for your tuto. I would like to secure my lighttpd serv with owncloud but im a little bit lost cause its not really a website, with domain and etc.
So i dont know what i can do for certificate. Any idea? Thanks.
Please wait for v6.2 release this week, as it contains some dietpi-letsencrypt rework. Then just run dietpi-letsencrypt, enter some info and decisions about HSTS and automated redirection to HTTPS and DietPi + CertBot will do everything else.
Oh thanks! So i will wait for this weekend.
I didnt install a lot of thing on my fresh install waiting for the big part to be there.
But maybe with an apt-get update upgrade etc the improve will be install without reinstall my owncloud.
So unfortunately, my i made an dietpi-update and weird thing my lighttpd dont work anymore.
I will make a post.
Hello Everyone,
I’ve got few trouble since i updated my dietpi from 6.1 to 6.2.
I install few things like oracle java in the same interval.
When i try to start my lighttpd service i’ve got an error :
root@DietPiServ:/var/lib# systemctl start lighttpd.service
Job for lighttpd.service failed because the control process exited with error code.
See "systemctl status lighttpd.service" and "journalctl -xe" for details.
I check the status and :
root@DietPiServ:/var/lib# systemctl status lighttpd.service
\u25cf lighttpd.service - Lighttpd Daemon
Loaded: loaded (/lib/systemd/system/lighttpd.service; disabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Wed 2018-02-21 00:02:53 CET; 5s ago
Process: 3561 ExecStartPre=/usr/sbin/lighttpd -tt -f /etc/lighttpd/lighttpd.conf (code=exited, status=255)
Feb 21 00:02:53 DietPiServ systemd[1]: lighttpd.service: Failed with result 'exit-code'.
Feb 21 00:02:53 DietPiServ systemd[1]: lighttpd.service: Start request repeated too quickly.
Feb 21 00:02:53 DietPiServ systemd[1]: Failed to start Lighttpd Daemon.
Feb 21 00:02:53 DietPiServ systemd[1]: lighttpd.service: Failed with result 'exit-code'.
root@DietPiServ:/var/lib# systemctl start lighttpd.service
Job for lighttpd.service failed because the control process exited with error code.
See "systemctl status lighttpd.service" and "journalctl -xe" for details.
My Lighttpd conf :
erver.modules = (
"mod_access",
"mod_alias",
"mod_compress",
"mod_redirect",
)
server.document-root = "/var/www"
server.upload-dirs = ( "/var/cache/lighttpd/uploads" )
server.errorlog = "/var/log/lighttpd/error.log"
server.pid-file = "/var/run/lighttpd.pid"
server.username = "www-data"
server.groupname = "www-data"
server.port = 80
index-file.names = ( "index.php", "index.html", "index.lighttpd.html" )
url.access-deny = ( "~", ".inc" )
static-file.exclude-extensions = ( ".php", ".pl", ".fcgi" )
compress.cache-dir = "/var/cache/lighttpd/compress/"
compress.filetype = ( "application/javascript", "text/css", "text/html", "text/plain" )
# default listening port for IPv6 falls back to the IPv4 port
include_shell "/usr/share/lighttpd/use-ipv6.pl " + server.port
include_shell "/usr/share/lighttpd/create-mime.assign.pl"
include_shell "/usr/share/lighttpd/include-conf-enabled.pl"
So if you have any idea, i take
Thanks.