missing /etc/nginx/sites-available

jack linkers jacklinkers at gmail.com
Mon Feb 10 16:46:08 UTC 2014


Hello,

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 :
https://developers.google.com/speed/pagespeed/module/build_ngx_pagespeed_from_source
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
successful

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: 1.7.30.3-3721

I have no nginx folder under /etc, therefore I can't edit
/etc/nginx/sites-available/file_to_edit

I believe this folder comes with the package apt-get install nginx by
default
But how do I edit my .vhost from source build please ?

Thanks !
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20140210/4182c6d4/attachment.html>


More information about the nginx mailing list