Whenever i try do delete a comment i posted on someone's page i get Error code: 2C138/5 and I feel like it's an nginx issue
server {
listen 80;
listen [::]:80;
error_log /dev/null;
server_name www.site.com site.com;
rewrite ^ https://site.com$request_uri? permanent;
}
server {
listen 443;
listen [::]:443 ssl http2;
error_log /dev/null;
include /usr/local/nginx/conf/openssl.conf;
server_name www.site.com;
rewrite ^ https://site.com$request_uri? permanent;
}
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
error_log /dev/null;
server_name site.com;
include /usr/local/nginx/conf/openssl.conf;
root /home/site/public_html;
set $no_cache 0;
index index.php;
location / {
try_files $uri $uri/ /index.php;
expires 7d;
}
include /usr/local/nginx/conf/wordpress.conf;
include /usr/local/nginx/apps/pagespeed/optimize.conf;
include /usr/local/nginx/conf/cache.conf;
location ~ .php$ {
include /usr/local/nginx/conf/php.conf;
include /usr/local/nginx/conf/fastcgi_params;
}
location ~^(/page/).*(\.php)$ {
try_files $uri $uri/ /index.php;
}
location ~ ^/applications/(blog|calendar|chat|cms|core|downloads|forums|gallery|nexus|pastebin|companydirectory|rules|videos|notes|iawards|links|pmviewer|readthattopic|rules)/interface/.*\.(?:php\d*|phtml)$ {
allow all;
include /usr/local/nginx/conf/php.conf;
}
location ~ ^/(uploads|datastore|system|plugins)/.*\.(?:php\d*|phtml)$ {
allow 127.0.0.1;
deny all;
}
location ~ ^/applications/(blog|calendar|chat|cms|core|downloads|forums|gallery|nexus|pastebin|companydirectory|rules|videos|notes|iawards|links|pmviewer|readthattopic|rules)/.*\.(?:php\d*|phtml)$ {
allow 127.0.0.1;
deny all;
}
location /mail {
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header Host $http_host;
proxy_pass http://xxx.xx.xx.xxx:8890;
}
}