Jump to content
XPEnology Community

access to nginx access_log


Recommended Posts



my DSM getting disabled like 3 times and everytime after is disabled i have to reinstall DSM.


What i want to do i to see how they disable it because it has to be over http but the access logs are disabled in /etc/nginx/nginx.conf


  access_log  off;
    #access_log syslog:server=unix:/dev/log,facility=local7,tag=nginx_access,nohostname main;


i edited the file many times and every time after i reboot or reload config  files  the system rewrite the file again and again


what i did


chmod 0444 /etc/nginx/nginx.conf

  try to make him only read-only but after reload  is rewrited again


i found that when i restart nginx i get this message


synoservicecfg --restart nginx


/var/log/syslog.log:2019-09-23T14:27:38-07:00 DiskStation syslog-ng[5513]: Configuration reload request received, reloading configuration;


is there a another way to access this access_log from nginx ?


i disabled for the moment the access from  WAN that they cant disable the DSM






Edited by nullsoft
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...