Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how can i convert my grails application from http to https under Linux operating system?

Tags:

grails

how can i convert my grails application from http to https under Linux operating system

like image 955
Georgian Citizen Avatar asked Feb 27 '23 00:02

Georgian Citizen


2 Answers

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

like image 80
Aaron Saunders Avatar answered Feb 28 '23 12:02

Aaron Saunders


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.

like image 45
leebutts Avatar answered Feb 28 '23 14:02

leebutts