access_log /var/log/nginx-reverse/testaccess.log
error_log /var/log/nginx-reverse/error1.log
OK please show both files.
Iām sorry but I cannot get the files with the modified names
do the paths exist?
yes: cd /var/log/nginx/
/var/log/nginx$ cat jcp.access.log
nothing is shown.
is NOT equal to:
Yes, I changed it because the second path doesnāt exist
You make changes and say nothing⦠I donāt know where we are.
Please show both files again.
[Iām assuming you restarted the service after the last change]
Iām so sorry for that. the nginx proxy configuration:
server {
listen 80 default_server;
listen [::]:80 default_server;
index index.php index.html index.htm;
root /www/var/html;
server_name jcp-connect.fr 176.139.8.11;
location /.well-known/acme-challenge/ {
root /var/www/letsencrypt;
try_files $uri 404;
access_log /var/log/nginx/jcp.access.log;
error_log /var/log/nginx/jcp.error.log;
}
location / {
proxy_pass http://jcp-connect.fr;
}
}
When I make cat error.log, I get:
2019/12/10 20:05:37 [notice] 1546#1546: signal process started
2019/12/10 20:17:17 [notice] 2004#2004: signal process started
2019/12/10 20:21:48 [notice] 2449#2449: signal process started
what about the jcp.access.log ?
It is the same nothing is shown when typing: cat jcp.access.log
Then the requests are being handled elsewhere.
You might want to look at a complete config (ningx -T
) to see where those requests might be served from.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.