Welcome! Log In Create A New Profile

Advanced

Re: Stumped with issue of Nginx passing requests to php-fpm while using SSL

All files from this thread

File Name File Size   Posted by Date  
smime.p7s 2.3 KB open | download cmdr_riker 09/26/2013 Read message
September 26, 2013 06:46PM
OK, the problem is that you're listening on *http* on port 443. You need
to use

listen 443 ssl [default];

for ssl.

As an aside, you can combine the http: and https: configs, using the two
listen statements, and dropping the 'ssl on' in a single block. Makes
admin simpler... havn't checked but the two look pretty similar.

hth,

Steve

On Thu, 2013-09-26 at 22:34 +0000, Eric Tyrer wrote:
> Problem i have is that after attempting to login to wordpress over SSL
> php is not being processed/executed.
>
>
> I've got a Wordpress 3.5 multi-site using subdirectories.
>
>
> nginx version: nginx/1.4.2
>
>
> built by gcc 4.4.7 20120313 (Red Hat 4.4.7-3) (GCC)
>
>
> TLS SNI support enabled
> configure arguments: --prefix=/etc/nginx --sbin-path=/usr/sbin/nginx
> --conf-path=/etc/nginx/nginx.conf
> --error-log-path=/var/log/nginx/error.log
> --http-log-path=/var/log/nginx/access.log
> --pid-path=/var/run/nginx.pid --lock-path=/var/run/nginx.lock
> --http-client-body-temp-path=/var/cache/nginx/client_temp
> --http-proxy-temp-path=/var/cache/nginx/proxy_temp
> --http-fastcgi-temp-path=/var/cache/nginx/fastcgi_temp
> --http-uwsgi-temp-path=/var/cache/nginx/uwsgi_temp
> --http-scgi-temp-path=/var/cache/nginx/scgi_temp --user=nginx
> --group=nginx --with-http_ssl_module --with-http_realip_module
> --with-http_addition_module --with-http_sub_module
> --with-http_dav_module --with-http_flv_module --with-http_mp4_module
> --with-http_gunzip_module --with-http_gzip_static_module
> --with-http_random_index_module --with-http_secure_link_module
> --with-http_stub_status_module --with-mail --with-mail_ssl_module
> --with-file-aio --with-ipv6 --with-cc-opt='-O2 -g -pipe
> -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
> --param=ssp-buffer-size=4 -m64 -mtune=generic'
>
>
> PHP 5.3.27 (fpm-fcgi) (built: Jul 12 2013 10:10:59)
>
>
> nginx handles requests fine through port 80 images, css, etc are
> processed normally. however, logging into to a blog results in no php
> being processed like ….
>
>
> > <?php
> > /**
> > * Front to the WordPress application. This file doesn't do anything, but loads
> > * wp-blog-header.php which does and tells WordPress to load the theme.
> > *
> > * @package WordPress
> > */
> >
> > /**
> > * Tells WordPress to load the WordPress theme and output it.
> > *
> > * @var bool
> > */
> > define('WP_USE_THEMES', true);
> >
> > /** Loads the WordPress Environment and Template */
> > require('./wp-blog-header.php');
>
>
> my host.conf is here http://pastie.org/private/lmr05yxem5psyemzbwukig
>
>
> and my nginx conf is
> here http://pastie.org/private/9gwjgvslwspg17frbus3g
>
>
>
>
> i am at my wits end trying to figure it out by myself.. It would be
> great if another pair of eyes could look this over
>
> ---------
> Eric S. Tyrer II
> Associate Director – Web Systems
>
> York College - The City University of New York
> http://www.york.cuny.edu
> 94-20 Guy R. Brewer Blvd.
> Academic Core - STE 1H14
> Jamaica, NY 11451
>
> http://www.york.cuny.edu/etyrer
> etyrer@york.cuny.edu
>
> (P) 718-262-2466
> (C) 347-393-6507
>
> I have no special talent. I am only passionately curious. - Albert
> Einstein
>
>
>
>
>
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx

--
Steve Holdoway BSc(Hons) MIITP
http://www.greengecko.co.nz
Linkedin: http://www.linkedin.com/in/steveholdoway
Skype: sholdowa

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Stumped with issue of Nginx passing requests to php-fpm while using SSL Attachments

cmdr_riker September 26, 2013 06:36PM

Re: Stumped with issue of Nginx passing requests to php-fpm while using SSL

GreenGecko September 26, 2013 06:46PM

Re: Stumped with issue of Nginx passing requests to php-fpm while using SSL

Maxim Dounin September 27, 2013 07:42AM

Re: Stumped with issue of Nginx passing requests to php-fpm while using SSL

Maxim Dounin September 27, 2013 07:38AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 94
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready