static: change static path to serve rhodecode static assets from
dedicated rhodecode path. This helps to serve statics via http server and then still allow plugin statics to work under a common prefix
This commit is contained in:
parent
d181ac58e4
commit
95e32917c7
5 changed files with 6 additions and 6 deletions
|
|
@ -10,8 +10,8 @@ Here is a sample configuration file for using Apache as a reverse proxy.
|
|||
ServerAlias hg.myserver.com
|
||||
|
||||
## uncomment to serve static files by Apache
|
||||
## ProxyPass /_static !
|
||||
## Alias /_static /path/to/.rccontrol/enterprise-1/static
|
||||
## ProxyPass /_static/rhodecode !
|
||||
## Alias /_static/rhodecode /path/to/.rccontrol/enterprise-1/static
|
||||
|
||||
<Proxy *>
|
||||
Order allow,deny
|
||||
|
|
|
|||
|
|
@ -59,7 +59,7 @@ Use the following example to configure Nginx as a your web server.
|
|||
include /etc/nginx/proxy.conf;
|
||||
|
||||
## uncomment to serve static files by nginx
|
||||
# location /_static {
|
||||
# location /_static/rhodecode {
|
||||
# alias /path/to/.rccontrol/enterprise-1/static;
|
||||
# }
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue