diff --git a/content/4.backend/1.deploy.md b/content/4.backend/1.deploy.md index b2d2c30..c5146be 100644 --- a/content/4.backend/1.deploy.md +++ b/content/4.backend/1.deploy.md @@ -61,7 +61,6 @@ This method provides a straightforward setup with minimal configuration. For mor **Important:** * Replace `YourPasswordHere` with your secure database password. * Generate a strong session secret and replace `32CharacterLongStringHere`. - 2. **Start the Backend:** Open a terminal in the directory containing `docker-compose.yml` and execute: ```bash @@ -75,6 +74,9 @@ Your backend should be accessible on `(YourPrivateIP):80`. To share it outside y **Optional: Using a Reverse Proxy** For SSL and domain configuration, consider setting up a reverse proxy like Nginx. +* If you do use a reverse proxy, you may need to add `MWB_SERVER__CORS: "example.com movie.example.com"`. +* Dependent on your setup you may also need `MWB_SERVER__TRUST_PROXY: true`, and `MWB_SERVER__TRUST_CLOUDFLARE: true`. + ## Method 2 - Railway (Easy) Railway provides a simple deployment process and $5 of initial credit, usually enough to run the backend for several months.