My server is set up in a Raspberry Pi runing Nginx and the problem would only occur when the file was complex but not big enough. I tried what was suggested in another post here to decrease File Chunk Size in the plugin settings but it did not work.
So I found the solution and I would like to share it with you. I also noticed from time to time a 504 Gateway timeout error. The solution for me was to increase the timeout setting to prevent the 504 error from happening and it also helped to prevent the Error #-200: HTTP Error as well.
Here is a webpage containing the solution of how to increase the nignx timeout settings:
https://support.plesk.com/hc/en-us/articles/115000170354-An-operation-or-a-script-that-takes-more-than-60-seconds-to-complete-fails-on-a-website-hosted-in-Plesk-nginx-504-Gateway-Time-out
Basically the steps are to open the nginx config file
nano /etc/nginx/nginx.conf
and add the following lines to http { }:
http {
<…>
proxy_send_timeout 180s;
proxy_read_timeout 180s;
fastcgi_send_timeout 180s;
fastcgi_read_timeout 180s;
}
Most of the “site hardening” benefits of this plugin are delivered by it writing rules to the .htaccess file itself.
SO… how can we make this plugin work on an NGINX environment?
]]>do you plan nginx support?
]]>When I type in browser mydomain/service/service-one everything works OK.
The problem is that WP allow to type every possible prefix in url (non-existing parent page slug) and it will serve the proper page as long as correct slug is in the end.
So when I type mydomain/whatever/service-one I still get service-one page, I can even type many parent pages like mydomain/whatever/some-random-txt/service-one and still get the service-one page.
Anybody knows why?
Inability to connect to WordPress.com for publicize functions with the error message when I tried to refresh connection to LinkedIn:Error code: -32700
We turned off NGINX I was then able to connect accounts.
We added to the WP config $_SERVER[‘SERVER_PORT’] = 80; after setting the ports for Apache within Tweak Settings to be 8080 and 8443.
Then we re-installed NGINX
Now the error message is Publicize Sharing Settings when I try to add an account is:
Error code: -32300 when I try to add a Twitter account.
Everything worked fine until the update to Jetpack 6.0.
In the WordPress.com interface it shows all of my Jetpack sites as “This site can not be accessed.”
Please offer a solution.
]]>Connection refused in /var/www/realdomainremoved.com/htdocs/wp-content/plugins/nginx-helper/includes/redis-delete.php on line 15″ while reading response header from upstream, client: 173.244.44.16, server: www.realdomainremoved.com, request: “GET /wp-json/jetpack/v4/jitm?message_path=wp%3Adlm_download_page_download-monitor-logs%3Aadmin_notices&query=post_type%253Ddlm_download%252Cpage%253Ddownload-monitor-logs&_wpnonce=d8a761890a HTTP/2.0”, upstream: “fastcgi://127.0.0.1:9000”, host: “www.realdomainremoved.com”, referrer: “https://www.realdomainremoved.com/wp-admin/edit.php?post_type=dlm_download&page=download-monitor-logs”
]]>Content-Encoding: gzip
What hint can you give to add to the redirect files?
]]>