We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 52d66ba commit 47f37e5Copy full SHA for 47f37e5
cmd/web.go
@@ -85,6 +85,9 @@ func newMacaron() *macaron.Macaron {
85
if setting.EnableGzip {
86
m.Use(macaron.Gziper())
87
}
88
+ if setting.Protocol == setting.FCGI {
89
+ m.SetURLPrefix(setting.AppSubUrl)
90
+ }
91
m.Use(macaron.Static(
92
path.Join(setting.StaticRootPath, "public"),
93
macaron.StaticOptions{
0 commit comments