Deploy Gogs in AWS with Let's encrypt


#1

Gogs version (or commit ref): 0.11.34

  • Git version: 2.7.4
  • Operating system: Ubuntu 16.04.3 LTS
  • Database (use [x]):
    • [ ] PostgreSQL
    • [x] MySQL
    • [ ] MSSQL
    • [ ] SQLite
  • Can you reproduce the bug at https://try.gogs.io:
    • [ ] Yes (provide example URL)
    • [ ] No
    • [x] Not relevant
  • Log gist (usually found in log/gogs.log): N/A

Description

I’m trying to deploy Gogs in AWS with Let’s encrypt certificate. I can’t use certbot with gogs as type of server is not defined.

Any ideas what should I do?

Regards


#2

Install nginx and make proxy with certs letsencrypt. But you also must add systemf service for gogs and close 3000/port by firewall