domain set to proxy on nginx server does not log
If a domain on a nginx server is set to proxy to another domain the log capabilities are disabled in the vhost config file. The lines below are missing from the config.
[...] error_log /var/log/ispconfig/httpd/domain.tld/error.log; access_log /var/log/ispconfig/httpd/domain.tld/access.log combined; [...]
In our situation we need these logs for statistics generation (we proxy websites to a centralized system). I could imagine this is not the case for everybody but for
Maybe logging can also be reduced with conditional logging (if=)?
http://nginx.org/en/docs/http/ngx_http_log_module.html#access_log
Edited by Thom