In a KB article about enabling CORS there is a template for nginx for TG 3.1 (https://tigergraph.freshdesk.com/support/solutions/articles/5000867412). I’ve noticed odd behavior when using the linked 3.1 template at the bottom of the article with 3.1.1. There seems to be some issue on the routing for queries with parameters. For example in the graph exploration view limits for a vertex type aren’t being honored. Running queries through Graph Studio is a similar experience, the parameters from the input aren’t being passed correctly.
If I don’t use the nginx template everything works fine and as expected. I’m looking for the most up to date template to compare. I couldn’t find in the docker container, and running “gadmin config entry Nginx.ConfigTemplate” gives the below message.
Nginx.ConfigTemplate [ ]: The template to generate nginx config. Please use @filepath to parse template from file. Check the default template first at https://docs.tigergraph.com./(Warning: Don’t modify the reserved keywords(string like UPPER_CASE) in template.). Didn’t see this anywhere in the documentation.