Environment:
ORDS 25.2 deployed on Tomcat 9.0.
Java 17.
Database and APEX running on separate servers (PaaS).
Reverse proxy: Nginx in front of Tomcat.
Problem:
After upgrading to ORDS 25.2.1, the APEX layout breaks and some cookies (e.g., NSC_ESNS=...) are displayed directly in the page body instead of being handled as HTTP headers.
Also, if we refresh the screen several times, sometimes the cookies ‘as a text’ disappear from the screen and if you refresh again, it is shown again.
Nginx config:
location /apex/ {
proxy_pass http://127.0.0.1:8080/apex/;
proxy_http_version 1.1;
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;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Port $server_port;
proxy_set_header Connection "";
proxy_read_timeout 300s;
proxy_send_timeout 300s;
proxy_buffering off;
proxy_redirect off;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $http_connection;
}
But I also tried with only:
location /apex/ {
proxy_pass http://127.0.0.1:8080/apex/;
proxy_http_version 1.1;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-Proto $scheme;
}
Find below some images to help to understand my issue:

Then, I click on Oracle Apex > Go
Cookies displayed as text in the screen


I refreshed several times, then, the cookies are gone but after the next refresh they are back:
