Getting started
James Read
jamesread5737 at gmail.com
Thu Dec 12 16:52:25 UTC 2019
On Thu, Dec 12, 2019 at 4:42 PM Francis Daly <francis at daoine.org> wrote:
> On Thu, Dec 12, 2019 at 04:34:17PM +0000, James Read wrote:
> > On Thu, Dec 12, 2019 at 4:24 PM Francis Daly <francis at daoine.org> wrote:
>
> Hi there,
>
> > > If you do
> > >
> > > curl -i http://127.0.0.1/
> > >
> > > what content do you get back? Is it from the file that you want it to
> be?
> > >
> >
> > I still get the Welcome to nginx! page.
>
> Your nginx is using a config file.
>
> You made a change to a config file.
>
> Have you any evidence that the config file you changed is the config
> file that your nginx is using?
>
> "ps -ef | grep nginx" may show if an explicit config file is being used
> ("-c" argument).
>
>
root 903 1 0 Dec11 ? 00:00:00 nginx: master process
/usr/sbin/nginx -g daemon on; master_process on;
www-data 9470 903 0 Dec11 ? 00:00:00 nginx: worker process
www-data 9471 903 0 Dec11 ? 00:00:00 nginx: worker process
www-data 9472 903 0 Dec11 ? 00:00:00 nginx: worker process
www-data 9473 903 0 Dec11 ? 00:00:00 nginx: worker process
www-data 9474 903 0 Dec11 ? 00:00:00 nginx: worker process
www-data 9475 903 0 Dec11 ? 00:00:00 nginx: worker process
www-data 9476 903 0 Dec11 ? 00:00:00 nginx: worker process
www-data 9477 903 0 Dec11 ? 00:00:00 nginx: worker process
yaakov 24793 8371 0 16:49 pts/0 00:00:00 grep --color=auto nginx
> If not, "nginx -V" should show the "configure arguments", which will
> show any --conf-path or --prefix that will indicate the default config
> file that nginx will use, if it is not the default-default.
>
nginx version: nginx/1.16.1 (Ubuntu)
built with OpenSSL 1.1.1c 28 May 2019
TLS SNI support enabled
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
This is the config file that I edited /etc/nginx/nginx.conf
James
>
> Cheers,
>
> f
> --
> Francis Daly francis at daoine.org
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20191212/2e1c6d7a/attachment-0001.htm>
More information about the nginx
mailing list