We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d28fb3 commit 44ccef0Copy full SHA for 44ccef0
config/nginx.conf
@@ -8,6 +8,14 @@ http {
8
include mime.types;
9
default_type application/octet-stream;
10
11
+ log_format main_timed '$remote_addr - $remote_user [$time_local] "$request" '
12
+ '$status $body_bytes_sent "$http_referer" '
13
+ '"$http_user_agent" "$http_x_forwarded_for" '
14
+ '$request_time $upstream_response_time $pipe $upstream_cache_status';
15
+
16
+ access_log /dev/stdout main_timed;
17
+ error_log /dev/stderr info;
18
19
keepalive_timeout 65;
20
21
server {
@@ -20,9 +28,6 @@ http {
28
root /var/www/html;
29
index index.php index.html;
22
30
23
- error_log /dev/stderr info;
24
- access_log /dev/stdout;
25
-
26
31
location / {
27
32
# First attempt to serve request as file, then
33
# as directory, then fall back to index.php
0 commit comments