mirror of
https://github.com/unifi-utilities/unifios-utilities.git
synced 2024-08-30 18:32:21 +00:00
Fixing HTTP Certs
This commit is contained in:
parent
4be276cb7c
commit
31b1b03023
@ -39,7 +39,7 @@ If you have already installed PiHole, skip right to step 6.
|
||||
6. Make /mnt/data/nextdns and copy [nextdns.conf](https://github.com/boostchicken/udm-utilities/blob/master/nextdns/udm-files/nextdns.conf) to it.
|
||||
7. Run the NextDNS docker container. Mounting dbus and running in privileged is only required for mDNS. Also, please change the --dns arguments to whatever was provided by NextDNS.
|
||||
```
|
||||
podman run -d --privileged --network dns \
|
||||
podman run -d --network dns \
|
||||
--name nextdns \
|
||||
-v "/mnt/data/nextdns/:/etc/nextdns/" \
|
||||
-v /var/run/dbus/system_bus_socket:/var/run/dbus/system_bus_socket \
|
||||
|
@ -3,12 +3,12 @@ ENV VERSION=1.6.4
|
||||
WORKDIR /tmp
|
||||
RUN apk add curl \
|
||||
&& mkdir nextdns \
|
||||
&& curl -fsSL https://github.com/nextdns/nextdns/releases/download/v${VERSION}/nextdns_${VERSION}_linux_arm64.tar.gz -o nextdns.tar.gz \
|
||||
&& curl -fsSL https://github.com/nextdns/nextdns/releases/download/v${VERSION}/nextdns_${VERSION}_linux_amd64.tar.gz -o nextdns.tar.gz \
|
||||
&& tar zxf nextdns.tar.gz -C ./nextdns
|
||||
|
||||
FROM debian:buster-slim
|
||||
LABEL maintainer="John Dorman <dorman@ataxia.cloud>"
|
||||
RUN apt update && apt install -y ca-certificates
|
||||
COPY --from=builder /tmp/nextdns /opt/nextdns
|
||||
EXPOSE 53/tcp 53/udp
|
||||
VOLUME ['/etc/nextdns']
|
||||
ENTRYPOINT ["/opt/nextdns/nextdns","run", "-config-file", "/etc/nextdns/nextdns.conf"]
|
@ -4,4 +4,4 @@ listen :53
|
||||
report-client-info yes
|
||||
cache-size=10MB
|
||||
|
||||
config YOURCONFIG HERE
|
||||
config YOURIDHERE
|
||||
|
Loading…
Reference in New Issue
Block a user