Thanks for the update and feedback. We created a FR to allow the export of queries so we can import them in a new org. We'll keep you updated with any news on this feature.
On the other hand, here is a topic that might be helpful with setting up SSL with nginx: