Is there a way to enable pagespeed module in nginx by query?
I saw that in apache it can be enabled or disabled by query. F.i. www.site.com/?PageSpeed=on
In this case in config apache pagespeed must be set to "off". In Apache "off" mean that module can be enable by url query.
Ok. But in Nginx "off" mean that module completely disabled and you cant enable it by query. In apache for completely disabling is third option, in nginx i know only "on" and "off". I read the docs pagespeed module and my question is still.
Its really that in Nginx it is not possible?
P.S. I can "on" module in config and disable module by query. But it is not quite that what i want.
Thank to all for answers.
server {
server_name unused;
pagespeed on;
}
server {
server_name www.yoursite.com
pagespeed off;
}
--
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.
To unsubscribe from this group and stop receiving emails from it, send an email to ngx-pagespeed-discuss+unsub...@googlegroups.com.
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.
--
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/c2M80KOqUV0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ngx-pagespeed-di...@googlegroups.com.
Hey Otto!
I dont know exact what our developers to achieve. My aim is that Google Pagespeed can be enabled by query and any modules too . But by default it must disabled and not any changes in pages, like the PageSpeed no enanled.
I see that not need to type PageSpeed=on (behaviour not changed when i type it, modules work same as without it), just only PageSpeedModules=[comma separated list of modules which would like to enable and/or disanle]. Am i right?