Task #3818 (closed)
Opened 13 years ago
Closed 13 years ago
Bug: nginx.conf fails for nginx 0.8.54
Reported by: | jamoore | Owned by: | jamoore |
---|---|---|---|
Priority: | minor | Milestone: | OMERO-Beta4.3 |
Component: | General | Version: | n.a. |
Keywords: | n.a. | Cc: | cxallan, cneves |
Resources: | n.a. | Referenced By: | n.a. |
References: | n.a. | Remaining Time: | 0.0d |
Sprint: | 2011-02-10 (5) |
Description
[omero@CentOS-55-64-minimal ~]$ ./nginx-0.8.54/objs/nginx -c /home/omero/nginx.conf [emerg]: unknown directive "if" in /home/omero/nginx.conf:36 [omero@CentOS-55-64-minimal ~]$ grep -B 2 -A 2 if nginx.conf location / { if (-f /home/omero/2011-01-11/OMERO.server-Beta-4.2.3-DEV/var/maintenance.html) { error_page 503 /maintenance.html; return 503;
Change History (2)
comment:1 Changed 13 years ago by jmoore
- Owner set to jmoore
- Remaining Time set to 0.1
- Sprint set to 2011-02-10 (5)
- Status changed from new to assigned
comment:2 Changed 13 years ago by jmoore
- Remaining Time changed from 0.1 to 0
- Resolution set to wontfix
- Status changed from assigned to closed
Note: See
TracTickets for help on using
tickets.
You may also have a look at Agilo extensions to the ticket.
This is caused by not configuring with pcre. By using the following:
rather than
the if clause is recognized.