Welcome to nginx on Debian! is the default holding page
where is this stored on debian 8 jessie?
thankyou
xstation
Posted at Nginx Forum:
https://forum.nginx.org/read.php?2,273701,273701#msg-273701
___
nginx mailing list
nginx@nginx.org
http
I'm aware of the locations of index HTML on my server but the problem is
that Nginx by default looks in this location in Debian 8 the thing is if I
have something like:
I create this link as root
ln -s /home/echolot/echolot/results /var/www/echolot
and this link as echolot user
ln -sf echo
thanks for your reply
seems to have problems but just have to leave it for time being just comment
out the lines refering to spider etc and hopes it restarts.
many thanks for sugestions try to brush up on my knowledage base
Posted at Nginx Forum:
https://forum.nginx.org/read.php?2,271581,271628#
Here is full conf
user www-data;
worker_processes 4;
pid /run/nginx.pid;
events {
worker_connections 768;
# multi_accept on;
}
http {
##
# Basic Settings
##
sendfile on;
tcp_nopush on;
tcp_nodelay on;
keepalive_timeout 65
If I delete the if!
I get an error
root@mail:~# nginx -t -c /etc/nginx/nginx.conf
nginx: [emerg] unknown directive "($http_user_agent" in
/etc/nginx/nginx.conf:82
nginx: configuration file /etc/nginx/nginx.conf test failed
Posted at Nginx Forum:
https://forum.nginx.org/read.php?2,271581,271585#
thanks for fast reply#
here is what I get
root@mail:~# nginx -t -c /etc/nginx/nginx.conf
nginx: [emerg] "if" directive is not allowed here in
/etc/nginx/nginx.conf:82
nginx: configuration file /etc/nginx/nginx.conf test failed
so 'if' should be deleted?
Posted at Nginx Forum:
https://forum.ngin
eneted this in the conf file under http
SetEnvIfNoCase User-Agent "^Baiduspider" block_bot
Order Allow,Deny
Allow from All
Deny from env=block_bot
but on restart got a error message
Job for nginx.service failed. See 'systemctl status nginx.service' and
'journalctl -xn' for details.
root@mail:~