Project

General

Profile

Actions

Task #3563

closed

Check if proxy-prefix middleware works also now OOTB wih pyramid

Added by Marcin Kuzminski [CTO] about 8 years ago. Updated almost 8 years ago.

Status:
Closed
Priority:
Normal
Category:
-
Target version:
Start date:
25.04.2016
Due date:
% Done:

0%

Estimated time:
Sorting:
Commit Number:

Description

We have a special config called proxy-prefix. That allows people to specify a prefix that RC runs under.

## prefix middleware for RhodeCode, disables force_https flag.
## allows to set RhodeCode under a prefix in server.
## eg https://server.com/<prefix>. Enable `filter-with =` option below as well.
#[filter:proxy-prefix]
#use = egg:PasteDeploy#prefix
#prefix = /<your-prefix>

[app:main]
use = egg:rhodecode-enterprise-ce
## enable proxy prefix middleware, defined below
#filter-with = proxy-prefix

We should verify it works now with pyramid. This is tricky part since it influences how routes are generated.

Actions

Also available in: Atom PDF