mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-11-26 06:31:04 +01:00
Redirected nginx logs to journalctl
This commit is contained in:
parent
6e4ae4d03b
commit
0de283bddd
@ -9,14 +9,11 @@ http
|
|||||||
{
|
{
|
||||||
include mime.types;
|
include mime.types;
|
||||||
default_type text/html;
|
default_type text/html;
|
||||||
|
access_log syslog:server=unix:/dev/log;
|
||||||
#access_log /var/log/nginx/access.log main;
|
error_log syslog:server=unix:/dev/log;
|
||||||
#error_log /var/log/nginx/error.log debug;
|
|
||||||
error_log /var/log/nginx/error.log;
|
|
||||||
sendfile on;
|
sendfile on;
|
||||||
keepalive_timeout 65;
|
keepalive_timeout 65;
|
||||||
gzip on;
|
gzip on;
|
||||||
types_hash_max_size 4096;
|
types_hash_max_size 4096;
|
||||||
|
|
||||||
include conf.d/*.conf;
|
include conf.d/*.conf;
|
||||||
}
|
}
|
||||||
|
4
site.yml
4
site.yml
@ -19,6 +19,10 @@
|
|||||||
roles:
|
roles:
|
||||||
- role: native-docker-volume-backup
|
- role: native-docker-volume-backup
|
||||||
when: "'error:' not in pacman_q_docker.stderr"
|
when: "'error:' not in pacman_q_docker.stderr"
|
||||||
|
- name: setup nginx hosts
|
||||||
|
hosts: nginx_hosts
|
||||||
|
roles:
|
||||||
|
- role: native-nginx
|
||||||
- name: setup replica backup hosts
|
- name: setup replica backup hosts
|
||||||
hosts: replica_backup_hosts
|
hosts: replica_backup_hosts
|
||||||
roles:
|
roles:
|
||||||
|
Loading…
Reference in New Issue
Block a user