Skip to content

Commit

Permalink
fix up
Browse files Browse the repository at this point in the history
  • Loading branch information
hagenest authored and missytake committed May 19, 2024
1 parent 505ad36 commit 4e65291
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cmdeploy/src/cmdeploy/nginx/nginx.conf.j2
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
user www-data;
worker_processes auto;
pid /run/nginx.pid;
error_log stderr;
error_log syslog:server=unix:/dev/log,facility=local3;

events {
worker_connections 768;
Expand Down Expand Up @@ -35,7 +35,7 @@ http {

server_name _;

access_log syslog:server=unix:/dev/log;
access_log syslog:server=unix:/dev/log,facility=local7;

location / {
# First attempt to serve request as file, then
Expand Down Expand Up @@ -82,6 +82,6 @@ http {
listen [::]:443 ssl;
server_name www.{{ config.domain_name }};
return 301 $scheme://{{ config.domain_name }}$request_uri;
access_log syslog:server=unix:/dev/log;
access_log syslog:server=unix:/dev/log,facility=local7;
}
}

0 comments on commit 4e65291

Please # to comment.