Formatting changes.
This commit is contained in:
parent
58bff5a5f5
commit
31047f6285
@ -1,5 +1,5 @@
|
|||||||
# 2022-10-05 Hyperling
|
# 2022-10-05 Hyperling
|
||||||
# Move config to nginx container.
|
# Move config to nginx container.
|
||||||
# This is because nginx image does not play well with Volumes.
|
# This is because nginx image does not play well with Volumes.
|
||||||
# Nextcloud and MariaDB created files in their folders fine, but nginx stays empty.
|
# Nextcloud and MariaDB created files in their folders fine, but nginx stays empty.
|
||||||
|
|
||||||
|
@ -16,16 +16,16 @@ http {
|
|||||||
include /etc/nginx/mime.types;
|
include /etc/nginx/mime.types;
|
||||||
default_type application/octet-stream;
|
default_type application/octet-stream;
|
||||||
|
|
||||||
log_format main '$remote_addr - $remote_user [$time_local] "$request" '
|
log_format main '$remote_addr - $remote_user [$time_local] "$request" '
|
||||||
'$status $body_bytes_sent "$http_referer" '
|
'$status $body_bytes_sent "$http_referer" '
|
||||||
'"$http_user_agent" "$http_x_forwarded_for"';
|
'"$http_user_agent" "$http_x_forwarded_for"';
|
||||||
|
|
||||||
access_log /var/log/nginx/access.log main;
|
access_log /var/log/nginx/access.log main;
|
||||||
|
|
||||||
sendfile on;
|
sendfile on;
|
||||||
#tcp_nopush on;
|
#tcp_nopush on;
|
||||||
|
|
||||||
keepalive_timeout 65;
|
keepalive_timeout 65;
|
||||||
|
|
||||||
#gzip on;
|
#gzip on;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user