1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-22 18:28:37 +00:00

Allow Gogs to run from a suburl behind a reverse proxy. e.g. http://mydomain.com/gogs/

Conflicts:
	modules/setting/setting.go

Conflicts:
	templates/repo/release/list.tmpl
	templates/user/dashboard/dashboard.tmpl

Conflicts:
	routers/repo/setting.go
This commit is contained in:
Martin van Beurden
2014-09-14 19:35:22 +02:00
parent 4f74b4e657
commit 0055cbd365
91 changed files with 322 additions and 300 deletions

View File

@@ -1,7 +1,7 @@
{{template "ng/base/head" .}}
{{template "ng/base/header" .}}
<div class="container text-center">
<p style="margin-top: 100px"><img src="/img/404.png" alt="404"/></p>
<p style="margin-top: 100px"><img src="{{AppRootSubUrl}}/img/404.png" alt="404"/></p>
<hr/>
<br>
<p>Application Version: {{AppVer}}</p>

View File

@@ -1,7 +1,7 @@
{{template "ng/base/head" .}}
{{template "ng/base/header" .}}
<div id="body" class="container text-center">
<p style="margin-top: 100px"><img src="/img/500.png" alt="500"/></p>
<p style="margin-top: 100px"><img src="{{AppRootSubUrl}}/img/500.png" alt="500"/></p>
<hr/>
<br>
{{if .ErrorMsg}}<p>An error has occurred : {{.ErrorMsg}}</p>{{end}}