Hi!
I would like to implement a robots.txt, but I would like to have different content for production and non-production environments. I was thinking about a solution like the extensibility configuration in O11 Mobile, but for Reactive there is no solution like that. I've looked in the community also for a solution but all questions/answers on the robots.txt topic are quite old. Another solution I found via Google is using an REST API, but at this point that feels more like a hack then a solid solution in my opinion.
So far I didn't find a solution for this. I'm working in O11 Reactive.
I'm hoping someone has some new insights or ideas.
Thanks,Willem
have you considered using FileSystem ?
I did not. I will take a look at that idea, thanks
Please see if this article helps @ https://success.outsystems.com/documentation/11/building_apps/search_engine_optimization_in_apps/seo_for_outsystems_reactive_web_apps_vs_traditional_web_apps/improved_crawlability_for_reactive_web_apps/
Also, you can handle search engine crawlers completely outside the platform using reverse proxies like NGINX.