<div dir="ltr"><p style="margin-right:0px;margin-bottom:15px;margin-left:0px;color:rgb(51,51,51);font-family:Helvetica,arial,freesans,clean,sans-serif;font-size:14px;line-height:23.799999237060547px;margin-top:0px!important">
Hello,</p><p style="margin:15px 0px;color:rgb(51,51,51);font-family:Helvetica,arial,freesans,clean,sans-serif;font-size:14px;line-height:23.799999237060547px">I'm new to linux and webservers, but I have a brain and C# background.<br style>
I installed ngx_pagespeed with nginx on a fresh ubuntu 13.10 following this tutorial :<a href="https://developers.google.com/speed/pagespeed/module/build_ngx_pagespeed_from_source" style="color:rgb(65,131,196);text-decoration:none">https://developers.google.com/speed/pagespeed/module/build_ngx_pagespeed_from_source</a><br style>
I installed everything under root directory, successfully builded the package and started nginx :</p><p style="margin:15px 0px;color:rgb(51,51,51);font-family:Helvetica,arial,freesans,clean,sans-serif;font-size:14px;line-height:23.799999237060547px">
root@xxxxx:~# service nginx configtest<br style>nginx: the configuration file /usr/local/nginx/conf/nginx.conf syntax is ok<br style>nginx: configuration file /usr/local/nginx/conf/nginx.conf test is successful</p><p style="margin:15px 0px;color:rgb(51,51,51);font-family:Helvetica,arial,freesans,clean,sans-serif;font-size:14px;line-height:23.799999237060547px">
root@xxxxx:~# curl -I -p <a href="http://localhost">http://localhost</a>|grep X-Page-Speed<br style>% Total % Received % Xferd Average Speed Time Time Time Current<br style>Dload Upload Total Spent Left Speed<br style>0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0<br style>
X-Page-Speed: 1.7.30.3-3721</p><p style="margin:15px 0px;color:rgb(51,51,51);font-family:Helvetica,arial,freesans,clean,sans-serif;font-size:14px;line-height:23.799999237060547px">I have no nginx folder under /etc, therefore I can't edit /etc/nginx/sites-available/file_to_edit</p>
<p style="margin:15px 0px;color:rgb(51,51,51);font-family:Helvetica,arial,freesans,clean,sans-serif;font-size:14px;line-height:23.799999237060547px">I believe this folder comes with the package apt-get install nginx by default<br style>
But how do I edit my .vhost from source build please ?</p><p style="margin-top:15px;margin-right:0px;margin-left:0px;color:rgb(51,51,51);font-family:Helvetica,arial,freesans,clean,sans-serif;font-size:14px;line-height:23.799999237060547px;margin-bottom:0px!important">
Thanks !</p></div>