##############################################################
user www-data;
worker_processes auto;
pid /run/nginx.pid;
include /etc/nginx/modules-enabled/*.conf;
events {
worker_connections 1024;
}
http {
include mime.types;
default_type application/octet-stream;
include /etc/nginx/conf.d/.conf;
include /etc/nginx/sites-enabled/;
Hello, We are getting this error while nginx oidc-config.xml model using for SSO:
Error: 2019/02/28 16:12:52 [error] 22960#22960: *37 too big subrequest response: 7663 while sending to client, client: xx.xx.xxx.xx, server: , request: "GET /oauth2/callback?code=asassdAddaCCSDAcsASqa3dA5SC&state=asdfhwakefcAA4ksdklvsd7ajsjHAw HTTP/1.1", subrequest: "/internal/oauth2/token", upstream: "http://yy.yyy.yyy.yyy:8080/internal/oauth2/token", host: "zz.zzz.zzz.zzz:8787"
below find the configuration:
File Name : /etc/nginx/conf.d/load-balancer.conf
############################################################### upstream backend { ip_hash; server yy.yyy.yyy.yyy:8080; }
server { listen 8787;
proxy_buffering on; proxy_buffer_size 128k; proxy_buffers 4 256k; proxy_busy_buffers_size 256k;
location / { fastcgi_buffer_size 128k; fastcgi_buffers 4 256k; proxy_pass http://backend; } } ##############################################################
File Name : /etc/nginx/nginx.conf
############################################################## user www-data; worker_processes auto; pid /run/nginx.pid; include /etc/nginx/modules-enabled/*.conf;
events { worker_connections 1024; }
http { include mime.types; default_type application/octet-stream; include /etc/nginx/conf.d/.conf; include /etc/nginx/sites-enabled/;
server { listen 8787; server_name zz.zzz.zzz.zzz:8787;
} ##########################################################################################
File Name : /etc/nginx/oidc-config.xml
##########################################################################################
#########################################################################################################################
request for help...