andreapollastri / cipi

Install and manage your server like a pro! With Cipi you don’t need to be a Sys Admin to deploy and manage websites and PHP applications powered by cloud VPS.
https://cipi.sh
1.08k stars 223 forks source link

Ssl and Cron is not working #395

Closed vimal-360 closed 2 years ago

vimal-360 commented 2 years ago

Can not generate ssl certificate using click button. also I added my laravel path config in crontab still not running cron.

donniewr commented 2 years ago

SSL is working for me, make sure to point your domain to the server IP and to disable Cloudflare (Gray cloud).

Cronjob on the CIPI interface are using the root user. Try adding the job using your app SSH user instead.

vimal-360 commented 2 years ago

I did all the things like reboot. recheck nameserver etc. still SSL is not generating. @Donniewr Do you mean the per site ssh user? I did add using cipi admin panel.

donniewr commented 2 years ago

I did all the things like reboot. recheck nameserver etc. still SSL is not generating. @Donniewr Do you mean the per site ssh user? I did add using cipi admin panel.

Strange maybe something is wrong with the server or your domain is rate limited by Let's Encrypt. Also have you tried accessing your site with HTTPS after requesting a certificate? CIPI is not automatically redirecting to HTTPS.

If you want to run a cron.php file inside your site files, you should add the cronjob manually with crontab -e using a site SSH user.

vimal-360 commented 2 years ago

@Donniewr I did manually ssl certificate using certbot - nginx now its working. also crontab -e is works. now I ma facing alias issue. I have x.com.au domain. but for alias www.x.com.au not working. I tried restarting nginx also. :)

donniewr commented 2 years ago

@Donniewr I did manually ssl certificate using certbot - nginx now its working. also crontab -e is works. now I ma facing alias issue. I have x.com.au domain. but for alias www.x.com.au not working. I tried restarting nginx also. :)

Alias works for me, did you add a DNS record (CNAME) for the www domain?

andreapollastri commented 2 years ago

Hi! I checked current version of Cipi and I don't have any issue with cron or SSL features!