Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:darix:playground
nginx-time-based-logfiles-helpers
README.SUSE
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File README.SUSE of Package nginx-time-based-logfiles-helpers
Usage in nginx vhost config block: ``` server { include access_log.conf; access_log /var/log/nginx/default/$year/$month/$year-$month-$day-access.log main; error_log /var/log/nginx/default/error.log; } ``` ``` server { server_name someothervhost; include access_log.conf; access_log /var/log/nginx/someothervhost/$year/$month/$year-$month-$day-access.log main; error_log /var/log/nginx/someothervhost/error.log; } ``` you still have to create the base dir manually with: $ install -o nginx -g nginx -m 0700 -d /var/log/nginx/subdir/ So creating a new vhost is: $ install -o nginx -g nginx -m 0700 -d /var/log/nginx/newvhost/ $ nginx-logdirs $ rcnginx restart|reload
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor