gitea nginx reverse proxy help

  • Hi,
    I installed Gitea in docker using instructions from homepage.
    When I call Gitea from localhost:3000 everything works fine
    I use conf file for nginx reverse proxy from homepage
    Now when I call Gitea from https://git.mydomain, I'm landing on nginx server homepage.



    Code
    server {
    listen 80;
    server_name git.mydomain.com;
    location / {
    proxy_pass http://localhost:3000;
    }
    }

    Obviously, I'm doing something wrong .
    Any help. please?

    = Fujitsu PRIMERGY TX1310 M3 • 2 x HDD 3.5" 4TB Western Digital Red • Windows Server 2019 • Hyper-V • OMV 5.x =

  • Hi,


    well first off, I'm not an expert at this and had the same problem a few months ago an my solution was a few settings at my domain registration.


    I don't know if you have access to your DNS registration of your domain? If so, you need to make a CNAME registration for the subdomain git.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!