mirror of
https://github.com/movie-web/docs.git
synced 2025-09-13 14:33:28 +00:00
Fix links and anchors
This commit is contained in:
@@ -22,7 +22,7 @@ For this update, you will need to run migrations.
|
||||
For this update, you will need to run migrations.
|
||||
</Warning>
|
||||
|
||||
- [Added option to trust Cloudflare IP headers for ratelimits](./configuration.mdx#servertrustcloudflare)
|
||||
- [Added option to trust Cloudflare IP headers for ratelimits](./configuration.mdx#server-trust-cloudflare)
|
||||
- Removed unused table
|
||||
- Optimized prometheus metrics, should make less indexes
|
||||
|
||||
@@ -32,5 +32,5 @@ For this update, you will need to run migrations.
|
||||
- Account creation/deletion endpoints
|
||||
- Endpoints for importing old account data
|
||||
- Endpoints for syncing data
|
||||
- [Ratelimit system](./configuration.mdx#ratelimit)
|
||||
- [Ratelimit system](./configuration.mdx#ratelimits)
|
||||
- [Captcha system](./configuration.mdx#captcha)
|
||||
|
@@ -14,7 +14,7 @@ These different config options are all mutually inclusive, so you can use multip
|
||||
|
||||
<Warning>
|
||||
With any of these configurations, you have to have atleast three variables set for the server to function:
|
||||
[`postgres.connection`](#postgresconnection), [`crypto.sessionSecret`](#cryptosessionsecret) and [`meta.name`](#metaname)
|
||||
[`postgres.connection`](#postgres-connection-⚠), [`crypto.sessionSecret`](#crypto-session-secret-⚠) and [`meta.name`](#meta-name-⚠)
|
||||
</Warning>
|
||||
|
||||
### Method 1 - `config.json`
|
||||
@@ -67,7 +67,7 @@ Space separated list of allowed origins.
|
||||
- Type: `boolean`
|
||||
- Default: `false`
|
||||
|
||||
If set to true, it allows any origin to access the site. This overwrites the [`server.cors`](#servercors) setting.
|
||||
If set to true, it allows any origin to access the site. This overwrites the [`server.cors`](#server-cors) setting.
|
||||
|
||||
### `server.trustProxy`
|
||||
|
||||
@@ -222,7 +222,7 @@ If this is enabled, all other captcha related settings are required.
|
||||
All configuration options related to adding ratelimiting functionality. Helps to protect against bot attacks or spammy users.
|
||||
|
||||
<Note>
|
||||
Make sure your IP headers are properly forwarded if you're using a reverse proxy. Also see [`server.trustProxy`](#servertrustproxy).
|
||||
Make sure your IP headers are properly forwarded if you're using a reverse proxy. Also see [`server.trustProxy`](#server-trust-proxy).
|
||||
</Note>
|
||||
|
||||
### `ratelimits.enabled`
|
||||
|
@@ -94,4 +94,4 @@ Railway offers you $5 of credit once you verify your account, which is enough to
|
||||
1. Fill in the required variables or change the default values.
|
||||
1. The `Deploy` button at the bottom of the template should be active, click on it.
|
||||
1. Once the `Backend` service has deployed, copy the URL from the `Deployments` page. (Might take a second for it to be available after the service has deployed)
|
||||
1. Congratulations! You have deployed the backend, you can now [set up the client](../1.self-hosting/2.use-backend.md).
|
||||
1. Congratulations! You have deployed the backend, you can now [set up the client](../self-hosting/use-backend.mdx).
|
||||
|
@@ -27,4 +27,4 @@ Optionally, there are a few security settings:
|
||||
|
||||
Migrations help keep your database schema in sync with everyone else. To run migrations, you can use the `pnpm migration:up` command inside the docker container or in your command-line if you're not using docker.
|
||||
|
||||
Alternatively, you can enable the [`postgres.migrateOnBoot`](./configuration.mdx#postgresmigrateonboot) variable and it will be automatically migrated on boot.
|
||||
Alternatively, you can enable the [`postgres.migrateOnBoot`](./configuration.mdx#postgres-migrate-on-boot) variable and it will be automatically migrated on boot.
|
||||
|
Reference in New Issue
Block a user