FCGI: Allow FCGI over unix sockets (#9298)
* FCGI: Allow FCGI over unix sockets * fixup! FCGI: Allow FCGI over unix sockets
This commit is contained in:
parent
4dc3993b22
commit
2c83dac5d4
5 changed files with 22 additions and 7 deletions
|
@ -133,7 +133,7 @@ func NewMacaron() *macaron.Macaron {
|
|||
if setting.EnableGzip {
|
||||
m.Use(gzip.Middleware())
|
||||
}
|
||||
if setting.Protocol == setting.FCGI {
|
||||
if setting.Protocol == setting.FCGI || setting.Protocol == setting.FCGIUnix {
|
||||
m.SetURLPrefix(setting.AppSubURL)
|
||||
}
|
||||
m.Use(public.Custom(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue