0

I am running my website on AWS elastic beanstalk and there I install PHP 8.1 64bit Amazon Linux 2/3.5.0.

Everything works fine when I am running my website on HTTP but when I added an SSL certificate it's not working. Means it's working with the HTTP but not with the HTTPS

So googled this query and applied some changes but it's not working.

Below are the files which I am using please check and let me know what I am mistaking.

This is my /etc/php-fpm.d/www.conf file

enter image description here

This is my /etc/ngingx/nginx.conf file

enter image description here

And i checked this file /run/php-fpm/www.sock it's empty file.

After updating all the Nginx configurations I restarted the Nginx server but still, it's now working. Please help with this I spent 3 days on this problem.

And one more thing about this my angular pages is working fine with https but my php code is not working.

Shubham Azad
  • 786
  • 2
  • 10
  • 25

0 Answers0