File tree Expand file tree Collapse file tree 1 file changed +0
-45
lines changed
content/cloud/5.migration Expand file tree Collapse file tree 1 file changed +0
-45
lines changed Original file line number Diff line number Diff line change @@ -352,51 +352,6 @@ After completing your migration, verify the following:
352352- SSL certificate is active
353353- DNS is properly configured
354354
355- ## Updating Your Applications
356-
357- If you have applications consuming your Directus API, update the API endpoint:
358-
359- ** Before:**
360- ``` javascript
361- const client = new Directus (' https://your-project.directus.app' );
362- ```
363-
364- ** After:**
365- ``` javascript
366- // Generic self-hosting
367- const client = new Directus (' https://your-domain.com' );
368-
369- // Railway
370- const client = new Directus (' https://your-project.up.railway.app' );
371- ```
372-
373- Update any static tokens or OAuth configurations as needed.
374-
375- ## Performance Optimization
376-
377- For better performance in production:
378-
379- 1 . ** Enable Redis caching:**
380- ```
381- CACHE_ENABLED=true
382- CACHE_STORE=redis
383- REDIS=redis://localhost:6379
384- ```
385-
386- 2 . ** Configure rate limiting:**
387- ```
388- RATE_LIMITER_ENABLED=true
389- RATE_LIMITER_POINTS=50
390- RATE_LIMITER_DURATION=1
391- ```
392-
393- 3 . ** Enable compression:**
394- ```
395- COMPRESSION_ENABLED=true
396- ```
397-
398- 4 . ** Set up a CDN** for your assets (CloudFlare, AWS CloudFront)
399-
400355## Troubleshooting
401356
402357### Database Connection Issues
You can’t perform that action at this time.
0 commit comments