change logging in nginx to not show ip
All checks were successful
/ docker (push) Successful in 1m54s
All checks were successful
/ docker (push) Successful in 1m54s
This commit is contained in:
parent
c7574ecb80
commit
19f9d57831
@ -38,6 +38,10 @@ http {
|
|||||||
|
|
||||||
client_max_body_size 500M; # Will get replaced by the environment variable MAX_UPLOAD_SIZE
|
client_max_body_size 500M; # Will get replaced by the environment variable MAX_UPLOAD_SIZE
|
||||||
|
|
||||||
|
log_format main '[$time_local] "$request" '
|
||||||
|
'$status $body_bytes_sent "$http_referer" '
|
||||||
|
'"$http_user_agent" "$http_x_forwarded_for"';
|
||||||
|
|
||||||
location /upload.php {
|
location /upload.php {
|
||||||
try_files $uri =404;
|
try_files $uri =404;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user