From 765e3e33cad0798e760b1e16ebaee5a3304b91a4 Mon Sep 17 00:00:00 2001 From: <> Date: Fri, 27 Sep 2024 08:00:24 +0000 Subject: [PATCH] Deployed 18778a6b with MkDocs version: 1.6.1 --- general/swag/index.html | 2 +- search/search_index.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/general/swag/index.html b/general/swag/index.html index 4d6dbf80d7..2601352d7d 100644 --- a/general/swag/index.html +++ b/general/swag/index.html @@ -685,4 +685,4 @@
That way, nginx will use the /
location block from our heimdall proxy conf instead.
After that, when we navigate to https://linuxserver-test.com
, we'll see the Heimdall interface.
If we want to password protect our new homepage, we can run the following on the host command line to create a new .htpasswd
file: docker exec -it swag htpasswd -c /config/nginx/.htpasswd anyusername
. After which, we can activate authentication by editing the heimdall.subfolder.conf
file to uncomment the relevant lines so it reads:
# enable the next two lines for http auth
auth_basic "Restricted";
auth_basic_user_file /config/nginx/.htpasswd;
-
We wrote a blogpost for the deprecated letsencrypt image diving into troubleshooting issues regarding dns and port-forwards, which still is a very good resource: blog.linuxserver.io
This error simply means that the resource was not found. Commonly happening when you try to access a subfolder that is not enabled.
This error means that nginx can't talk to the application. There is a few common reasons for this:
The application and SWAG is not on the same custom docker network
Further up we talk about how to set up Docker networking, however there are some other common traps
The container name does not match the application name.
Covered in the section for Understanding the proxy conf structure
You manually changed the port.
Also covered in the section for Understanding the proxy conf structure
The container originally ran with host networking, or the default bridge.
In most cases the contents of /config/nginx/resolver.conf;
should be ...resolver 127.0.0.11 valid=30s;
, if this is not the case, you can:
This image can be used in many different scenarios as it is a full fledged web server with some bells and whistles added. The above examples should be enough to get you started. For more information, please refer to the official documentation on either Github or Docker Hub. If you have questions or issues, or want to discuss and share ideas, feel free to visit our discord: https://discord.gg/YWrKVTn
As you can see in this article, there are many different configurations, therefore we need to understand your exact setup before we can provide support. If you encounter a bug and confirm that it's a bug, please report it on our github thread. If you need help with setting it up, join our discord and upload the following info to a service like pastebin and post the link:
docker logs swag
)