jonataslaw / get_server

A backend server that makes it possible to program with Flutter syntax and reuse existing code
Apache License 2.0
476 stars 42 forks source link

How to config CER and how redirect http to https ? #80

Open z234009184 opened 2 years ago

z234009184 commented 2 years ago

If I don't want use Nginx, what can I do?

TopiaAmr commented 1 year ago

I may suggest trying to publish the web build to a platform like CloudFlare Pages for example or Firebase Hosting. Just make sure to run the app through port 80

runApp(GetServer(
    port: 80,
    getPages: [
      GetPage(name: '/', page:()=> Home()),
    ],
  ));

Give it a try.