Changes between Version 2 and Version 3 of Ticket #818, comment 2
- Timestamp:
- 10/21/15 15:07:41 (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #818, comment 2
v2 v3 22 22 23 23 server { 24 server_name siteA.com;24 '''server_name siteA.com;''' 25 25 include conf.d/listen; 26 26 location / { … … 33 33 access_log /var/log/nginx/access.log main; 34 34 access_log /var/log/nginx/sites/siteA.com-access.log main; 35 error_log /var/log/nginx/sites/siteA.com-error.log error;35 '''error_log /var/log/nginx/sites/siteA.com-error.log error;''' 36 36 37 37 } 38 38 39 39 server { 40 server_name siteB.com;40 '''server_name siteB.com;''' 41 41 include conf.d/listen; 42 42 location / { … … 53 53 access_log /var/log/nginx/access.log main; 54 54 access_log /var/log/nginx/sites/siteB.com-access.log main; 55 error_log /var/log/nginx/sites/siteB.com-error.log error;55 '''error_log /var/log/nginx/sites/siteB.com-error.log error;''' 56 56 57 57 } … … 61 61 error log file /var/log/nginx/sites/siteB.com-error.log contains siteA.com entries! : 62 62 63 2015/10/21 13:07:24 [error] 17273#0: *9914491 access forbidden by rule, client: 80.215.155.196, server: siteB.com, request: "GET / HTTP/1.1", host: "siteA.com"64 2015/10/21 13:07:24 [error] 17273#0: *9914491 access forbidden by rule, client: 80.215.155.196, server: siteB.com, request: "GET /favicon.ico HTTP/1.1", host: "siteB.com"65 2015/10/21 13:41:52 [error] 17273#0: *10130318 access forbidden by rule, client: 84.101.96.33, server: siteB.com, request: "GET / HTTP/1.1", host: "siteA.com"63 2015/10/21 13:07:24 [error] 17273#0: *9914491 access forbidden by rule, client: 80.215.155.196, '''server: siteB.com''', request: "GET / HTTP/1.1", '''host: "siteA.com"''' 64 2015/10/21 13:07:24 [error] 17273#0: *9914491 access forbidden by rule, client: 80.215.155.196, '''server: siteB.com''', request: "GET /favicon.ico HTTP/1.1", '''host: "siteB.com"''' 65 2015/10/21 13:41:52 [error] 17273#0: *10130318 access forbidden by rule, client: 84.101.96.33, '''server: siteB.com''', request: "GET / HTTP/1.1", '''host: "siteA.com"''' 66 66 67 67 How is it possible ?