diff --git a/.gitignore b/.gitignore index 2824772..4355a69 100644 --- a/.gitignore +++ b/.gitignore @@ -132,4 +132,5 @@ dist # custom dist docker/*.pem -docker/*.key \ No newline at end of file +docker/*.key +docker/nginx.conf \ No newline at end of file diff --git a/README.md b/README.md index dfdc69a..1e2bf29 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@ The provided `Dockerfile` creates an image which runs both the DNS server and a 1. Use [SSSL](https://github.com/PretendoNetwork/SSSL) to create your patched SSL certficiates. 2. Copy the `ssl-cert-private-key.pem` from SSSL file to `docker/private.key` (or modify the private key name in step 4) in SSSL-DNS. 3. Copy the `cert-chain.pem` from SSSL file to `docker/ca.pem` (or modify the certificate chain name in step 4) in SSSL-DNS. -4. Modify `docker/nginx.conf` to your liking. This will be used as the nginx default configuration, *not* a separate site config. Add any additional hostnames you may need. +4. Create `docker/nginx.conf` from `docker/nginx.example.conf` and modify it to your liking. This will be used as the nginx default configuration, *not* a separate site config. Add any additional hostnames you may need. 5. Create a `.env` file in the same directory as the `Dockerfile` following the above guide. 6. `docker build -t IMAGE_NAME .` 7. Create a container with the image, exposing ports 80, 443 and the DNS server port (by default the Wii U only supports the default port 53) \ No newline at end of file diff --git a/docker/nginx.conf b/docker/nginx.example.conf similarity index 100% rename from docker/nginx.conf rename to docker/nginx.example.conf