I am using the following setup:
Nginx -> varnish -> wordpress/apache
functions.php:
update_option('siteurl' and update_option('home' are correct.
wp-config.php:
define('WP_HOME' and define('WP_SITEURL' are correct.
Frond end of the site works fine, backend works fine, BUT when i want to use the pagination to go to page 2 of posts, the url points to the ip of the server, thus invalidating my admin cookie.
( http://???.??.??.??/wp-admin/edit.php?paged=2 ,this should be http://site_url/wp-admin/edit.php?paged=2 ) ..
I want to report this as a bug, but i'm unable to gain access to track.