Hi,
I think your Nginx configuration could possibly be the cause of the
problem. Replace what you have with this:
location /shortenyoururl/ {
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header Host $http_host;
proxy_pass http://127.0.0.1:9999;
}
On 9/5/17 8:38 AM, Lutz Horn wrote:
Hi,
using Fossil 2.3 I can not access any file in the web UI. Starting for
example at
https://fossil.lhorn.de/shortenyoururl/dir?type=tree
any link to a file like
https://fossil.lhorn.de/shortenyoururl/artifact/a8aa85601605f9b2
results in
Artifact '' does not exist in this repository.
What could be the reason for this?
I am running Fossil as
$ fossil server --port 9999 --localhost --baseurl
https://fossil.lhorn.de/shortenyoururl shortenyoururl.fossil
and use Nginx:
location ~ ^/shortenyoururl/?$ {
return 301 https://fossil.lhorn.de/shortenyoururl/index;
}
location /shortenyoururl/ {
rewrite /shortenyoururl(/[^/]+) $1 break;
proxy_pass http://localhost:9999;
proxy_set_header Host $host;
}
Regards
Lutz
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
--
Dan Barbarito / Full Stack Web Developer
http://barbarito.me
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users