Welcome! Log In Create A New Profile

Advanced

Re: implementation of access.log with if condition

July 31, 2017 07:08AM
Thanks for the response. The reason why I want to implement this is because I have dedicated server and thanks to nginx everything is work perfectly so I don't need to check server everyday. I don't want to locate logs on ssd main (hardrive /var/log/nginx/) which is obviously smaller hard disk than my external sata hdd (/externalhdd/log/nginx/). I am afraid if something happens to external hard drive time to time, I still want my website to operate after restart because every week server restart by itself due to some limitation of some programs. I guess it will give me error message nginx couldn't found access.log if external hard disk dies prior to restart nginx. I want to avoid this problem.

thanks.
Subject Author Posted

implementation of access.log with if condition

lifeisjustabout July 31, 2017 05:35AM

Re: implementation of access.log with if condition

Igor A. Ippolitov July 31, 2017 06:18AM

Re: implementation of access.log with if condition

lifeisjustabout July 31, 2017 07:08AM

Re: implementation of access.log with if condition

Lucas Rolff July 31, 2017 08:28AM

Re: implementation of access.log with if condition

lifeisjustabout July 31, 2017 10:33AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 142
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready