Reputation: 3957
how can i convert my grails application from http to https under Linux operating system
Upvotes: 4
Views: 2376
Reputation: 33335
the configuration depends on what container you are running the application in your production environment. You should be deploying a war to your Production Server not doing a grails run-app -https
here is a stackoverflow question with a configuration for Tomcat.
I am certain you can google around and find proper configuration based on your application server
Upvotes: 5
Reputation: 4882
What do you mean by "convert"?
You can run the embedded tomcat with HTTPS enabled by adding -https to the run-app command:
grails run-app -https
If you want HTTPS enabled in production then you need to configure your app server to support it.
Upvotes: 3