Welcome! Log In Create A New Profile

Advanced

http staus 403 - forbidden error

Posted by xander2007 
http staus 403 - forbidden error
October 25, 2017 06:58PM
Hi guys,

Since I've introduced myself I though I will start with my most pressing needs. I have a default configuration that was given to me by one of our cloud team members.

When I installed and configure the nginx accordingly, the testing worked fine, it was load balancing between 3 servers, however now when I try to acces our https site, we are getting the following error:

HTTP Status 403 – Forbidden

Type Status Report

Description The server understood the request but refuses to authorize it.
Apache Tomcat/8.5.20

After some research, I've seen that adding the line "client_max_body_size 2M;" may help to alleviate this issue but it seems it not helping at all.

The config files lookings like this:

server {
listen 443 ssl;
client_max_body_size 4M;
location / {
proxy_pass http://xxxxxx.xxxx.com;
proxy_http_version 1.1;
proxy_set_header Connection "Keep-Alive";
proxy_set_header Proxy-Connection "Keep-Alive";
client_max_body_size 4M;

}
}

HELP!!!!!

Thank you in advance.
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 73
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready