Welcome! Log In Create A New Profile

Advanced

Nginx errors.log not storing logs

Posted by tushar01 
Nginx errors.log not storing logs
December 05, 2017 12:12PM
I have a domain name: www.xyx.com and suppose there is url that leads to login page :www.xyx.com/login.
Suppose a user writes :www.xyx.com/login123 instead of www.xyx.com/login i believe that it should store that is errors.log file.




Here is my uwsgi file:
[uwsgi]
vhost = true
socket = /tmp/mysite.sock
venv = /var/www/mysite/.env
chdir = /var/www/mysite
module = app
callable = app


it is my other file :
server {
listen 80;
server_tokens off;
server_name www.mysite.com mysite.com;

location / {
include uwsgi_params;
uwsgi_pass unix:/tmp/mysite.sock;
}

location /static {
alias /var/www/mysite/static;
}

## Only requests to our Host are allowed
if ($host !~ ^(mysite.com|www.mysite.com)$ ) {
return 444;
}
}
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 55
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready