Score:0

GOGS reverse proxy on IIS

cn flag

I'm trying to reverse proxy the sub.domain.com/gogs to localhost:3001 - GOGS port. I tried creating a new application on the default web site

enter image description here

The folder that it points to is the main gogs folder. I downloaded URL Rewrite and with that created a reverse proxy that goes to localhost:3001 when there is /gogs in the URL.

But this gives me an error:

enter image description here

In the custom/conf/app.ini I set the domain to my sub-domain and when I set external URL to https://sub-domain.com/gogs the css of the main page doesn't work.

Any help on how to create a reverse proxy on IIS with GOGS?

Thanks

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.