adding before some work
This commit is contained in:
+11
-1
@@ -21,7 +21,11 @@ http {
|
||||
|
||||
#custom log format to display the webiste visited and the IP used
|
||||
log_format my_custom_format '$http_host \t $remote_addr - $remote_user [$time_local] "$request" $status $body_bytes_sent "$http_referer" "$http_user_agent"';
|
||||
|
||||
log_format ip_audit '$remote_addr [$time_local]';
|
||||
log_format backend_debug '$remote_addr - $remote_user [$time_local] '
|
||||
'"$request" $status $body_bytes_sent '
|
||||
'"$http_referer" "$http_user_agent" '
|
||||
'upstream_status=$upstream_status';
|
||||
|
||||
server {
|
||||
listen 80;
|
||||
@@ -44,7 +48,13 @@ http {
|
||||
'' close;
|
||||
}
|
||||
|
||||
include /etc/nginx/deny.d/*.conf;
|
||||
include /etc/nginx/conf.d/*.conf;
|
||||
|
||||
#add extra file for any extra work
|
||||
include /etc/nginx/extra.conf.d/*.conf;
|
||||
|
||||
|
||||
resolver 127.0.0.1 ipv6=off valid=40s; # The DNS IP server
|
||||
|
||||
#https://www.tweaked.io/guide/nginx-proxying/
|
||||
|
||||
Reference in New Issue
Block a user