nginx.conf out
Signed-off-by: ale <ale@manalejandro.com>
This commit is contained in:
parent
6bd9449729
commit
004a8b5d93
@ -1,4 +1,5 @@
|
||||
FROM nginx
|
||||
RUN apt update && apt install -y git && apt clean
|
||||
RUN git clone --depth 1 https://github.com/TuxInvader/nginx-dns /etc/nginx/nginx-dns
|
||||
COPY nginx.conf dns.conf domains.txt domains_v6.txt /etc/nginx/
|
||||
RUN echo "include /etc/nginx/dns.conf" >> /etc/nginx/nginx.conf
|
||||
COPY dns.conf domains.txt domains_v6.txt /etc/nginx/
|
||||
|
36
nginx.conf
36
nginx.conf
@ -1,36 +0,0 @@
|
||||
load_module modules/ngx_stream_js_module.so;
|
||||
user nginx;
|
||||
worker_processes auto;
|
||||
|
||||
error_log /var/log/nginx/error.log notice;
|
||||
pid /var/run/nginx.pid;
|
||||
|
||||
|
||||
events {
|
||||
worker_connections 1024;
|
||||
}
|
||||
|
||||
|
||||
http {
|
||||
include /etc/nginx/mime.types;
|
||||
default_type application/octet-stream;
|
||||
|
||||
log_format main '$remote_addr - $remote_user [$time_local] "$request" '
|
||||
'$status $body_bytes_sent "$http_referer" '
|
||||
'"$http_user_agent" "$http_x_forwarded_for"';
|
||||
|
||||
access_log /var/log/nginx/access.log main;
|
||||
|
||||
sendfile on;
|
||||
#tcp_nopush on;
|
||||
|
||||
keepalive_timeout 65;
|
||||
|
||||
#gzip on;
|
||||
|
||||
include /etc/nginx/conf.d/*.conf;
|
||||
}
|
||||
|
||||
stream {
|
||||
include /etc/nginx/dns.conf;
|
||||
}
|
Loading…
Reference in New Issue
Block a user