简体   繁体   中英

how to fix aws lightsail ubuntu Internal Server Error?

AWS Lightsail suddenly shows error 500 After checking logs, there was an error AH10292: Invalid proxy UDS filename (proxy:unix:///var/www/vhosts/system/website.net/php-fpm.sock|fcgi://127.0.0.1:9000/var/www/vhosts/website.net/httpdocs/index.php), referer: https://website.net/ All of my websites on lightsail are down, please help.

Plesk has a similar report , too:

Cause

The issue is related to the latest Apache update, which changed the approach in handling UDS URIs used to proxy connections from Apache to PHP-FPM.

Theirs (which must not mean theirs) solution is to downgrade Apache 2 and put it on hold.

Ubunutu 20.04:

# export version="2.4.41-4ubuntu3"; \
  apt-get install apache2=$version apache2-utils="$version" \
    apache2-data=$version apache2-bin="$version"; \
  apt-mark hold apache2

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM