<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Dec 12, 2019 at 4:42 PM Francis Daly <<a href="mailto:francis@daoine.org">francis@daoine.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Thu, Dec 12, 2019 at 04:34:17PM +0000, James Read wrote:<br>
> On Thu, Dec 12, 2019 at 4:24 PM Francis Daly <<a href="mailto:francis@daoine.org" target="_blank">francis@daoine.org</a>> wrote:<br>
<br>
Hi there,<br>
<br>
> > If you do<br>
> ><br>
> > curl -i <a href="http://127.0.0.1/" rel="noreferrer" target="_blank">http://127.0.0.1/</a><br>
> ><br>
> > what content do you get back? Is it from the file that you want it to be?<br>
> ><br>
> <br>
> I still get the Welcome to nginx! page.<br>
<br>
Your nginx is using a config file.<br>
<br>
You made a change to a config file.<br>
<br>
Have you any evidence that the config file you changed is the config<br>
file that your nginx is using?<br>
<br>
"ps -ef | grep nginx" may show if an explicit config file is being used<br>
("-c" argument).<br>
<br></blockquote><div><br></div><div>root 903 1 0 Dec11 ? 00:00:00 nginx: master process /usr/sbin/nginx -g daemon on; master_process on;<br>www-data 9470 903 0 Dec11 ? 00:00:00 nginx: worker process<br>www-data 9471 903 0 Dec11 ? 00:00:00 nginx: worker process<br>www-data 9472 903 0 Dec11 ? 00:00:00 nginx: worker process<br>www-data 9473 903 0 Dec11 ? 00:00:00 nginx: worker process<br>www-data 9474 903 0 Dec11 ? 00:00:00 nginx: worker process<br>www-data 9475 903 0 Dec11 ? 00:00:00 nginx: worker process<br>www-data 9476 903 0 Dec11 ? 00:00:00 nginx: worker process<br>www-data 9477 903 0 Dec11 ? 00:00:00 nginx: worker process<br>yaakov 24793 8371 0 16:49 pts/0 00:00:00 grep --color=auto nginx<br></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
If not, "nginx -V" should show the "configure arguments", which will<br>
show any --conf-path or --prefix that will indicate the default config<br>
file that nginx will use, if it is not the default-default.<br></blockquote><div><br></div><div>nginx version: nginx/1.16.1 (Ubuntu)<br>built with OpenSSL 1.1.1c 28 May 2019<br>TLS SNI support enabled<br>configure arguments: --with-cc-opt='-g -O2 -fdebug-prefix-map=/build/nginx-cVmHmM/nginx-1.16.1=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2' --with-ld-opt='-Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -fPIC' --prefix=/usr/share/nginx --conf-path=/etc/nginx/nginx.conf --http-log-path=/var/log/nginx/access.log --error-log-path=/var/log/nginx/error.log --lock-path=/var/lock/nginx.lock --pid-path=/run/nginx.pid --modules-path=/usr/lib/nginx/modules --http-client-body-temp-path=/var/lib/nginx/body --http-fastcgi-temp-path=/var/lib/nginx/fastcgi --http-proxy-temp-path=/var/lib/nginx/proxy --http-scgi-temp-path=/var/lib/nginx/scgi --http-uwsgi-temp-path=/var/lib/nginx/uwsgi --with-debug --with-compat --with-pcre-jit --with-http_ssl_module --with-http_stub_status_module --with-http_realip_module --with-http_auth_request_module --with-http_v2_module --with-http_dav_module --with-http_slice_module --with-threads --with-http_addition_module --with-http_geoip_module=dynamic --with-http_gunzip_module --with-http_gzip_static_module --with-http_image_filter_module=dynamic --with-http_sub_module --with-http_xslt_module=dynamic --with-stream=dynamic --with-stream_ssl_module --with-mail=dynamic --with-mail_ssl_module<br></div><div><br></div><div>This is the config file that I edited /etc/nginx/nginx.conf</div><div><br></div><div>James</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
Cheers,<br>
<br>
f<br>
-- <br>
Francis Daly <a href="mailto:francis@daoine.org" target="_blank">francis@daoine.org</a><br>
_______________________________________________<br>
nginx mailing list<br>
<a href="mailto:nginx@nginx.org" target="_blank">nginx@nginx.org</a><br>
<a href="http://mailman.nginx.org/mailman/listinfo/nginx" rel="noreferrer" target="_blank">http://mailman.nginx.org/mailman/listinfo/nginx</a><br>
</blockquote></div></div>