99 reputation
2
bio website github.com/suzaku
location China
age 28
visits member for 4 years, 2 months
seen Nov 17 at 3:14

I do web programming.


Nov
3
comment How can I separate access logs from requests of two different domains of the same server?
@AD7six They are currently exactly the same. The difference is that one of them is used by our partners for invoking some of our APIs.
Nov
3
comment How can I separate access logs from requests of two different domains of the same server?
I'm trying to keep requests from domain1 to be logged in access.log without any prefix. Should I set a new variable like log_prefix, and use it in access_log like /$log_prefixaccess.log?
Nov
3
comment How can I separate access logs from requests of two different domains of the same server?
Thanks. But if I have set my server_name to be domain1.com www.domain1.com domain2.com www.domain2.com, will this config results in four log files instead of two?
Nov
3
asked How can I separate access logs from requests of two different domains of the same server?
Sep
17
awarded  Supporter
Sep
17
awarded  Autobiographer