Добрый день. Проблема такая:
Установил систему тикетов trac. Установил так: бакэнд apache+mod_wsgi на 8080 порту + nginx на 80 порту. Апач настроен так:
<VirtualHost *:8080>
ServerAdmin self@dicos.ru
DocumentRoot /***/www/src/
ServerName domain.ru
WSGIScriptAlias / /***/www/trac.wsgi
WSGIDaemonProcess trac processes=2 maximum-requests=6 threads=3 user=trac umask=000
WSGIProcessGroup trac
ErrorLog /***/www/error_log
CustomLog /***/www/access_log common
ServerSignature On
<Location "/login">
AuthType Basic
AuthName "Trac"
AuthUserFile /***/www/src/trac.passwd
Require valid-user
</Location>
nginx настроен так:
server {
listen 80;
server_name domain.ru;
access_log /***/www/nginx.access_log;
error_log /***/www/nginx.error_log;
client_max_body_size 50M;
location ~ /*\.py* {
deny all;
}
location / {
proxy_pass http://127.0.0.1:8080/;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-for $remote_addr;
proxy_set_header Host $host;
proxy_connect_timeout 60;
proxy_send_timeout 90;
proxy_read_timeout 90;
proxy_redirect off;
proxy_set_header Connection close;
proxy_pass_header Content-Type;
proxy_pass_header Content-Disposition;
proxy_pass_header Content-Length;
}
}
403 Forbidden
nginx/0.8.54