95 reputation
3
bio website github.com/suzaku
location China
age 28
visits member for 4 years, 3 months
seen Dec 25 at 10:46

I do web programming.


Dec
10
comment In Nginx configuration, how to continue after a conditional return in location?
@AD7six Thanks. When I got 404 for the other domain names, I suspected a request processing stopped once it entered a location block, and I began to search for something like a continue for this block. I'll try your solution and see if it works :)
Dec
9
comment In Nginx configuration, how to continue after a conditional return in location?
@masegaloeh Yes, it should include a scheme.
Dec
9
comment In Nginx configuration, how to continue after a conditional return in location?
@XavierLucas Thanks. I've udpated my question.
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?