crestapps
Forum Replies Created
-
Forum: Plugins
In reply to: [Gallery - Image and Video Gallery with Thumbnails] My gallery dispensaryHello, I am using version Version 1.6.3. Here is the link where the gallery should appears
https://www.beitsahourusa.org/gallary/Forum: Fixing WordPress
In reply to: WordPress + Nginx is giving me a “403 forbidden” errorI changed the Nginx to the following configuration
server {
listen 80;
server_name usa.mydomin.com;#root /var/www/html; # <<<<< REMOVED THIS
root /data/wordpress_app/public_html; # <<<<< ADDED THISaccess_log off;
error_log /var/log/nginx/usa.mydomain.com-error.log;index index.html index.php;
location / {
# First attempt to serve request as file, then as directory, then fall back to displaying a 404.
try_files $uri $uri/ /index.php?$args;
}# pass the PHP scripts to FastCGI server listening on localhost:8000
location ~ \.php$ {
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_pass localhost:8000;
fastcgi_index index.php;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param SCRIPT_NAME $fastcgi_script_name;
}
}
But now I am getting <backquote>502 Bad Gateway</backquote>
looking at the logs I get the following error
2020/10/16 15:22:58 [error] 1475#1475: *68 upstream sent unsupported FastCGI protocol version: 72 while reading response header from upstream, client: MyIpAddress, server: usa.mydomain.com, request: "GET / HTTP/1.1", upstream: "fastcgi://[::1]:8000", host: "usa.mydomain.com"2020/10/16 15:22:58 [error] 1475#1475: *68 upstream sent unsupported FastCGI protocol version: 72 while reading response header from upstream, client: MyIpAddress, server: usa.mydomain.com, request: "GET /favicon.ico HTTP/1.1", upstream: "fastcgi://127.0.0.1:8000", host: "usa.mydomain.com", referrer: "http://usa.mydomain.com/"