Setting up console page for ngx_pagespeed

25 views
Skip to first unread message

Harsh Mathur

unread,
Jul 19, 2017, 3:28:30 AM7/19/17
to ngx-pagespeed-discuss

I added the code for setting up console page on ngx_pagespeed as:



But the nginx is not getting restarted after this change:


Can anybody help me in telling the correct syntax for enabling the console page.

Otto van der Schaaf

unread,
Jul 19, 2017, 3:32:22 AM7/19/17
to ngx-pagespeed-discuss
Hi,

The docs are here (with the right configuration format, I can't really explain it any better I think):

The error message you post, however, makes me suspect that nginx does not have ngx_pagespeed installed.
Does the output "nginx -V" mention ngx_pagespeed?

Otto



--
You received this message because you are subscribed to the Google Groups "ngx-pagespeed-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ngx-pagespeed-di...@googlegroups.com.
Visit this group at https://groups.google.com/group/ngx-pagespeed-discuss.
For more options, visit https://groups.google.com/d/optout.

Harsh Mathur

unread,
Jul 19, 2017, 4:18:16 AM7/19/17
to ngx-pagesp...@googlegroups.com
Yes I have ngx_pagespeed installed and nginx -V output shows this.

I have enabled this plugin and it is working fine for me. The only issue I am facing is that the console page can't be setuped.

On Wed, Jul 19, 2017 at 1:02 PM, Otto van der Schaaf <osc...@we-amp.com> wrote:
Hi,

The docs are here (with the right configuration format, I can't really explain it any better I think):

The error message you post, however, makes me suspect that nginx does not have ngx_pagespeed installed.
Does the output "nginx -V" mention ngx_pagespeed?

Otto



On Wed, Jul 19, 2017 at 9:28 AM Harsh Mathur <ha...@capellasoft.org> wrote:

I added the code for setting up console page on ngx_pagespeed as:



But the nginx is not getting restarted after this change:


Can anybody help me in telling the correct syntax for enabling the console page.

--
You received this message because you are subscribed to the Google Groups "ngx-pagespeed-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ngx-pagespeed-discuss+unsub...@googlegroups.com.

--
You received this message because you are subscribed to a topic in the Google Groups "ngx-pagespeed-discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ngx-pagespeed-discuss/W3CF_f4COTs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ngx-pagespeed-discuss+unsub...@googlegroups.com.

Otto van der Schaaf

unread,
Jul 20, 2017, 1:56:57 PM7/20/17
to ngx-pagesp...@googlegroups.com
Would it possible for you to post the pagespeed configuration lines and ngx_pagespeed version?

Otto

On Wed, Jul 19, 2017 at 10:18 AM Harsh Mathur <ha...@capellasoft.org> wrote:
Yes I have ngx_pagespeed installed and nginx -V output shows this.

I have enabled this plugin and it is working fine for me. The only issue I am facing is that the console page can't be setuped.

On Wed, Jul 19, 2017 at 1:02 PM, Otto van der Schaaf <osc...@we-amp.com> wrote:
Hi,

The docs are here (with the right configuration format, I can't really explain it any better I think):

The error message you post, however, makes me suspect that nginx does not have ngx_pagespeed installed.
Does the output "nginx -V" mention ngx_pagespeed?

Otto



On Wed, Jul 19, 2017 at 9:28 AM Harsh Mathur <ha...@capellasoft.org> wrote:

I added the code for setting up console page on ngx_pagespeed as:



But the nginx is not getting restarted after this change:


Can anybody help me in telling the correct syntax for enabling the console page.

--
You received this message because you are subscribed to the Google Groups "ngx-pagespeed-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ngx-pagespeed-di...@googlegroups.com.

--
You received this message because you are subscribed to a topic in the Google Groups "ngx-pagespeed-discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ngx-pagespeed-discuss/W3CF_f4COTs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ngx-pagespeed-di...@googlegroups.com.
You received this message because you are subscribed to the Google Groups "ngx-pagespeed-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ngx-pagespeed-di...@googlegroups.com.

Harsh Mathur

unread,
Jul 21, 2017, 12:25:33 AM7/21/17
to ngx-pagesp...@googlegroups.com
The configuration lines are available in the very first screenshot I attached in this mail thread.

The ngx_pagespeed version is 1.7.30.3


On Thu, Jul 20, 2017 at 11:26 PM, Otto van der Schaaf <osc...@we-amp.com> wrote:
Would it possible for you to post the pagespeed configuration lines and ngx_pagespeed version?

Otto
On Wed, Jul 19, 2017 at 10:18 AM Harsh Mathur <ha...@capellasoft.org> wrote:
Yes I have ngx_pagespeed installed and nginx -V output shows this.

I have enabled this plugin and it is working fine for me. The only issue I am facing is that the console page can't be setuped.

On Wed, Jul 19, 2017 at 1:02 PM, Otto van der Schaaf <osc...@we-amp.com> wrote:
Hi,

The docs are here (with the right configuration format, I can't really explain it any better I think):

The error message you post, however, makes me suspect that nginx does not have ngx_pagespeed installed.
Does the output "nginx -V" mention ngx_pagespeed?

Otto



On Wed, Jul 19, 2017 at 9:28 AM Harsh Mathur <ha...@capellasoft.org> wrote:

I added the code for setting up console page on ngx_pagespeed as:



But the nginx is not getting restarted after this change:


Can anybody help me in telling the correct syntax for enabling the console page.

--
You received this message because you are subscribed to the Google Groups "ngx-pagespeed-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ngx-pagespeed-discuss+unsub...@googlegroups.com.

--
You received this message because you are subscribed to a topic in the Google Groups "ngx-pagespeed-discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ngx-pagespeed-discuss/W3CF_f4COTs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ngx-pagespeed-discuss+unsub...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "ngx-pagespeed-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ngx-pagespeed-discuss+unsub...@googlegroups.com.

--
You received this message because you are subscribed to a topic in the Google Groups "ngx-pagespeed-discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ngx-pagespeed-discuss/W3CF_f4COTs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ngx-pagespeed-discuss+unsub...@googlegroups.com.

Otto van der Schaaf

unread,
Jul 21, 2017, 2:16:20 AM7/21/17
to ngx-pagesp...@googlegroups.com
The page you refer to is outdated, release 1.7.30.3 is quite old and installing it for production use is not the best of ideas.
I would recommend installing the latest stable, which offers many improvements over 1.7.30.3, including security fixes (and the admin pages / console):

The guide for installing ngx_pagespeed can be found here:
The documentation for setting up the console can be found here:

Otto


To unsubscribe from this group and stop receiving emails from it, send an email to ngx-pagespeed-di...@googlegroups.com.

--
You received this message because you are subscribed to a topic in the Google Groups "ngx-pagespeed-discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ngx-pagespeed-discuss/W3CF_f4COTs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ngx-pagespeed-di...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "ngx-pagespeed-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ngx-pagespeed-di...@googlegroups.com.

--
You received this message because you are subscribed to a topic in the Google Groups "ngx-pagespeed-discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ngx-pagespeed-discuss/W3CF_f4COTs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ngx-pagespeed-di...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "ngx-pagespeed-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ngx-pagespeed-di...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages