Skip to content

Commit

Permalink
fix internal links
Browse files Browse the repository at this point in the history
  • Loading branch information
sissbruecker committed Sep 17, 2024
1 parent 2ed638a commit ace015f
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion docs/src/content/docs/how-to.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ To use the shortcut:
At the bottom of the share sheet there is a button for configuring share actions. You can use this to move the "Add To Linkding" action to the top of the share sheet if you like.

:::note
You can also check the [Community section](community) for other pre-made shortcuts that you can use.
You can also check the [Community section](/community) for other pre-made shortcuts that you can use.
:::

## Increase the font size
Expand Down
10 changes: 5 additions & 5 deletions docs/src/content/docs/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ linkding is designed to be run with container solutions like [Docker](https://do
The Docker image is compatible with ARM platforms, so it can be run on a Raspberry Pi.

linkding uses an SQLite database by default.
Alternatively, linkding supports PostgreSQL, see the [database options](options#ld_db_engine) for more information.
Alternatively, linkding supports PostgreSQL, see the [database options](/options#ld_db_engine) for more information.

## Using Docker

Expand Down Expand Up @@ -85,7 +85,7 @@ docker-compose exec linkding python manage.py createsuperuser --username=joe --e

The command will prompt you for a secure password. After the command has completed you can start using the application by logging into the UI with your credentials.

Alternatively, you can automatically create an initial superuser on startup using the [`LD_SUPERUSER_NAME` option](options#ld_superuser_name).
Alternatively, you can automatically create an initial superuser on startup using the [`LD_SUPERUSER_NAME` option](/options#ld_superuser_name).

## Reverse Proxy Setup

Expand All @@ -112,7 +112,7 @@ An example virtual host that proxies to linkding might look like:

For a full example, see the docker-compose configuration in [jhauris/apache2-reverse-proxy](https://github.com/jhauris/linkding/tree/apache2-reverse-proxy)

If you still run into CSRF issues, please check out the [`LD_CSRF_TRUSTED_ORIGINS` option](options#ld_csrf_trusted_origins).
If you still run into CSRF issues, please check out the [`LD_CSRF_TRUSTED_ORIGINS` option](/options#ld_csrf_trusted_origins).

</details>

Expand All @@ -121,7 +121,7 @@ If you still run into CSRF issues, please check out the [`LD_CSRF_TRUSTED_ORIGIN

Caddy does not change the headers by default, and should not need any further configuration.

If you still run into CSRF issues, please check out the [`LD_CSRF_TRUSTED_ORIGINS` option](options#ld_csrf_trusted_origins).
If you still run into CSRF issues, please check out the [`LD_CSRF_TRUSTED_ORIGINS` option](/options#ld_csrf_trusted_origins).

</details>

Expand All @@ -140,4 +140,4 @@ location /linkding {

</details>

Instead of configuring header forwarding in your proxy, you can also configure the URL from which you want to access your linkding instance with the [`LD_CSRF_TRUSTED_ORIGINS` option](options#ld_csrf_trusted_origins).
Instead of configuring header forwarding in your proxy, you can also configure the URL from which you want to access your linkding instance with the [`LD_CSRF_TRUSTED_ORIGINS` option](/options#ld_csrf_trusted_origins).
2 changes: 1 addition & 1 deletion docs/src/content/docs/managed-hosting.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Self-hosting web applications still requires a lot of technical know-how and com

The following services provide fully managed hosting for linkding, including automatic updates and backups:

- [PikaPods.com](https://www.pikapods.com/) - Managed hosting for linkding, EU and US regions available. [1-click setup link](https://www.pikapods.com/pods?run=linkding) ([Disclosure](acknowledgements#pikapods))
- [PikaPods.com](https://www.pikapods.com/) - Managed hosting for linkding, EU and US regions available. [1-click setup link](https://www.pikapods.com/pods?run=linkding) ([Disclosure](/acknowledgements#pikapods))

## Self-Managed

Expand Down
4 changes: 2 additions & 2 deletions docs/src/content/docs/troubleshooting.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ This can be the case when using a reverse proxy that rewrites the `Host` header,
Since linkding version 1.15, the application includes a CSRF check that verifies that the `Origin` request header matches the `Host` header.
If the `Host` header is modified by the reverse proxy then this check fails.

To fix this, check the [reverse proxy setup documentation](installation#reverse-proxy-setup) on how to configure header forwarding for your proxy server, or alternatively configure the [`LD_CSRF_TRUSTED_ORIGINS` option](options#ld_csrf_trusted_origins) to the URL from which you are accessing your linkding instance.
To fix this, check the [reverse proxy setup documentation](/installation#reverse-proxy-setup) on how to configure header forwarding for your proxy server, or alternatively configure the [`LD_CSRF_TRUSTED_ORIGINS` option](/options#ld_csrf_trusted_origins) to the URL from which you are accessing your linkding instance.

## Import fails with `502 Bad Gateway`

The default timeout for requests is 60 seconds, after which the application server will cancel the request and return the above error.
Depending on the system that the application runs on, and the number of bookmarks that need to be imported, the import may take longer than the default 60 seconds.

To increase the timeout you can configure the [`LD_REQUEST_TIMEOUT` option](options#ld_request_timeout).
To increase the timeout you can configure the [`LD_REQUEST_TIMEOUT` option](/options#ld_request_timeout).

Note that any proxy servers that you are running in front of linkding may have their own timeout settings, which are not affected by the variable.

0 comments on commit ace015f

Please sign in to comment.