strattonbrazil at gmail.com
Mon Feb 10 16:50:55 UTC 2014
I'm new to nginx myself, but I'm guessing because you're not using the
package manager to install nginx. The install location in configured by
the package. Following the build steps in your link...
sed -e "s|%%PREFIX%%|/usr/local/nginx|" \
-e "s|%%PID_PATH%%|/usr/local/nginx/logs/nginx.pid|" \
-e "s|%%CONF_PATH%%|/usr/local/nginx/conf/nginx.conf|" \
-e "s|%%ERROR_LOG_PATH%%|/usr/local/nginx/logs/error.log|" \
< man/nginx.8 > objs/nginx.8
make: Leaving directory `/tmp/nginx-1.4.4'
Do you see something in /usr/local/nginx? If not, try searching directly
for the nginx.conf file.
On Mon, Feb 10, 2014 at 8:46 AM, jack linkers <jacklinkers at gmail.com> wrote:
> I'm new to linux and webservers, but I have a brain and C# background.
> I installed ngx_pagespeed with nginx on a fresh ubuntu 13.10 following
> this tutorial :
> I installed everything under root directory, successfully builded the
> package and started nginx :
> root at xxxxx:~# service nginx configtest
> nginx: the configuration file /usr/local/nginx/conf/nginx.conf syntax is ok
> nginx: configuration file /usr/local/nginx/conf/nginx.conf test is
> root at xxxxx:~# curl -I -p http://localhost|grep X-Page-Speed
> % Total % Received % Xferd Average Speed Time Time Time Current
> Dload Upload Total Spent Left Speed
> 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
> X-Page-Speed: 220.127.116.11-3721
> I have no nginx folder under /etc, therefore I can't edit
> I believe this folder comes with the package apt-get install nginx by
> But how do I edit my .vhost from source build please ?
> Thanks !
> nginx mailing list
> nginx at nginx.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the nginx