Symptom & Nginx Error Logs
During student registration or payroll processing, Nginx returns HTTP 502 error pages to clients:
2026/07/26 03:59:12 [error] 4012#0: *184902 upstream timed out (110: Connection timed out)
while reading response header from upstream, client: 192.168.1.50,
server: peoplesoft.university.edu, request: "POST /psc/ps/EMPLOYEE/SA/c/COMMUNITY_ACCESS.SSS_STUDENT_CENTER.GBL HTTP/1.1",
upstream: "http://10.0.4.15:8000/psc/ps/..."
Root Cause Analysis
By default, Nginx creates a new TCP connection to the upstream WebLogic backend for every incoming HTTP request. Under high concurrency, WebLogic exhausts available TCP socket handles, dropping incoming backend handshakes.
Hardened Production Nginx Configuration
Apply the following directives in /etc/nginx/conf.d/peoplesoft.conf:
# Upstream WebLogic Server Pool with Keepalive Connections
upstream peoplesoft_weblogic_backend {
server 10.0.4.15:8000 max_fails=3 fail_timeout=30s;
server 10.0.4.16:8000 max_fails=3 fail_timeout=30s;
# Maintain persistent connection pool to backend
keepalive 64;
}
server {
listen 443 ssl http2;
server_name peoplesoft.university.edu;
# TLS Security Hardening
ssl_protocols TLSv1.2 TLSv1.3;
ssl_ciphers ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256;
ssl_prefer_server_ciphers on;
location / {
proxy_pass http://peoplesoft_weblogic_backend;
# Enable HTTP 1.1 for upstream keepalive
proxy_http_version 1.1;
proxy_set_header Connection "";
# Buffer & Timeout Enhancements for Long-Running PIA Reports
proxy_read_timeout 300s;
proxy_connect_timeout 75s;
proxy_send_timeout 300s;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
}
Diagnostic Verification
Verify your Nginx configuration and sanitize local access logs before analysis:
Use our free Log Collector & Sanitizer Utility to scrub IP addresses and system credentials from your Nginx access logs locally before submission.
📚 Official Documentation & Technical References
- Nginx HTTP Proxy Module Documentation: Module ngx_http_proxy_module — Reference for
proxy_read_timeout,proxy_connect_timeout, andproxy_http_version. - Nginx HTTP Upstream Module Documentation: Module ngx_http_upstream_module — Technical guide to
keepalivedirective for persistent upstream connection pools. - Oracle PeopleSoft PeopleTools Documentation: PeopleTools Web Server Administration Guide — Tuning WebLogic and HTTP server parameters for PeopleSoft Internet Architecture (PIA).
- ORACLE-BASE: Nginx Reverse Proxy Configuration for Oracle WebLogic Server — Tim Hall’s tutorial on proxying, connection pooling, and SSL/TLS termination.
Need an expert review of your Nginx reverse proxy architecture or PeopleSoft web tier security? Contact our Security Specialists or explore our Enterprise Health Audits.