mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2026-01-01 04:10:06 -05:00
Squashed commit of the following:
commit7837467c30Merge:aaaae5b1b84759383fAuthor: vabene1111 <vabene1111@users.noreply.github.com> Date: Sat Dec 18 23:14:24 2021 +0100 Merge pull request #1146 from auanasgheps/patch-1 Add documentation about swag by linuxserver commit84759383faAuthor: Oliver Cervera <cervera93-19@yahoo.it> Date: Sat Dec 18 13:49:09 2021 +0100 Add documentation about swag by linuxserver Documents behaviour in #959 commitaaaae5b1baMerge:4a747f5cdea62c10d9Author: vabene1111 <vabene1111@users.noreply.github.com> Date: Thu Dec 16 18:10:48 2021 +0100 Merge pull request #1143 from smilerz/fix_get_facet_api fix bug in get_facet_api commitea62c10d9aAuthor: smilerz <smilerz@gmail.com> Date: Thu Dec 16 09:20:56 2021 -0600 remove console message commit3516505dd1Author: smilerz <smilerz@gmail.com> Date: Thu Dec 16 09:08:32 2021 -0600 fix bug in get_facet_api
This commit is contained in:
@@ -112,19 +112,19 @@ wget https://raw.githubusercontent.com/vabene1111/recipes/develop/docs/install/d
|
||||
~~~
|
||||
|
||||
#### Nginx Swag by LinuxServer
|
||||
[This container](https://github.com/linuxserver/docker-swag) is an all in one solution created by LinuxServer.io.
|
||||
[This container](https://github.com/linuxserver/docker-swag) is an all in one solution created by LinuxServer.io
|
||||
|
||||
It contains templates for popular apps, including Tandoor Recipes, so you don't have to manually configure nginx and discard the template provided in Tandoor repo. Tandoor config is called `recipes.subdomain.conf.sample` which you can adapt for your instance.
|
||||
It also contains templates for popular apps, including Tandoor Recipes, so you don't have to manually configure nginx and discard the template provided in Tandoor repo. Tandoor config is called `recipes.subdomain.conf.sample` which you can adapt for your instance
|
||||
|
||||
If you're running Swag on the default port, you'll just need to change the container name to yours.
|
||||
|
||||
If your running Swag on a custom port, some headers must be changed:
|
||||
If your running Swag on a custom port, some headers must be changed. To do this,
|
||||
|
||||
- Create a copy of `proxy.conf`
|
||||
- Replace `proxy_set_header X-Forwarded-Host $host;` and `proxy_set_header Host $host;` to
|
||||
- `proxy_set_header X-Forwarded-Host $http_host;` and `proxy_set_header Host $http_host;`
|
||||
- Update `recipes.subdomain.conf` to use the new file
|
||||
- Restart the linuxserver/swag container and Recipes will work correctly
|
||||
- Restart the linuxserver/swag container and Recipes will work
|
||||
|
||||
More information [here](https://github.com/TandoorRecipes/recipes/issues/959#issuecomment-962648627).
|
||||
|
||||
|
||||
Reference in New Issue
Block a user