Welcome! Log In Create A New Profile

Advanced

Site works fine in iframe, 504s w/o iframe

Posted by pwhiz 
Site works fine in iframe, 504s w/o iframe
September 24, 2014 10:45PM
I have a bit of a head scratcher here.

Here's the setup: I have an Apache server that runs vanilla PHP scripts and an Nginx server that runs Wordpress.

The Apache server has a PHP script that loads different pages on the Nginx in an iframe depending on what domain name the user typed in to access the server. (The Apache server can be accessed via hundreds of different domain names.)

This all works fine when the users are accessing the Nginx server's pages in iframe, but when I change one of the Apache server's domain names to point directly to the Nginx server instead, my error log explodes with connection timeout (110) errors.

As far as I can tell, the traffic load should be the same. Why the timeout errors in one case but not the other?
Re: Site works fine in iframe, 504s w/o iframe
September 24, 2014 10:59PM
I've pasted my configs for nginx and php-fpm here: http://p.ngx.cc/54
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 104
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready