Hello, I tried to get this example running on my Lucee Server:
It works fine at 127.0.0.1:8888/rest/metrics/system/os, but it doesn’t work at mywebsite.com/rest/metrics/system/os - instead I get a 404. I added the same REST mapping there as I did under 127.0.0.1:8888/lucee/admin/web.cfm?action=resources.rest.
In the first case the demo REST cfc is located at C:\lucee\tomcat\webapps\ROOT\restservices where the REST mapping points to, in the second case the REST cfc is located at [Webroot]\restservices where the REST mapping for this website is pointing to.
I assume I am missing some basic configuration step for getting this running as desired - but which one?
Configuration: Lucee 184.108.40.206 on Windows Server 2019 with Tomcat/IIS.