skip to Main Content

nginx php-fpm 502 Bad Gateway

I was running Ubuntu server 20.04 quite successfully with Ired mail and 2 websites, one of them with WordPress. I wanted to install Nextcloud, to do that I had to reinstall php-fpm to generate php7.4-fpm.sock. After this Nextcloud worked, but…

VIEW QUESTION

missing http headers in web server – Nginx

Am using BaseHTTPRequestHandler http server and copy/pasted the code from the interwebs. Here's the part where the response/header is set class S(BaseHTTPRequestHandler): def _set_response(self): self.send_response(200) self.send_header('Content-type', 'text/html') self.end_headers() But when calling the server with curl the response is: curl: (1)…

VIEW QUESTION
Back To Top
Search