How to use Nginx to reverse proxy to redmine

Added by AJ McAteer 6 months ago

How do I use Nginx to reverse proxy to Nginx I have it running and use -b, I realize that home/redmine/current does not exist for me so where is the correct place to point also what if anything else could be wrong?

server {
        listen   80; 
        listen   [::]:80

        root /home/redmine/current;
        index index.html index.htm;

        access_log /home/redmine/shared/log/access.log;
        error_log  /home/redmine/shared/log/error.log;

        client_max_body_size 5M;

        location / {
                auth_basic "Identify yourself";
                auth_basic_user_file /home/redmine/shared/.htpasswd;