Welcome! Log In Create A New Profile

Advanced

Re: Anyone running OSTicket with Nginx?

Alex Hall
May 11, 2016 04:28PM
Thanks for the quick response. Unfortunately, I'm not having any luck,
unless I mistyped one of the rules. I also can't find where errors go.
Anyone know where, or if, errors in fastcgi/php5-fpm are logged?
/var/log/php5-fpm.log is empty.

On Wed, May 11, 2016 at 4:09 PM, Yuriy Medvedev <medvedev.yp@gmail.com>
wrote:

> Try my config for Osticket 1.7, nginx+php-fpm
> I create that's config just for testing
> server {
> listen 80;
> server_name test.com;
> access_log /var/log/nginx/tickets.access.log;
> error_log /var/log/nginx/tickets.error.log info;
> index index.php;
> root /var/www/ticket;
> client_max_body_size 5M;
> keepalive_timeout 0;
> fastcgi_read_timeout 120;
> fastcgi_send_timeout 60;
> index index.php index.html;
> autoindex off;
>
> gzip on;
> gzip_types text/plain text/css application/x-javascript text/javascript
> application/javascript application/json application/xml text/x-component
> application/rss+xml text/xml;
> sendfile on;
> set $path_info "";
>
> location ~ /include {
> deny all;
> return 403;
> }
>
> if ($request_uri ~ "^/api(/[^\?]+)") {
> set $path_info $1;
> }
>
> location ~ ^/api/(?:tickets|tasks).*$ {
> try_files $uri $uri/ /api/http.php?$query_string;
> }
>
> if ($request_uri ~ "^/scp/.*\.php(/[^\?]+)") {
> set $path_info $1;
> }
>
> location ~ ^/scp/ajax.php/.*$ {
> try_files $uri $uri/ /scp/ajax.php?$query_string;
> }
>
> location / {
> try_files $uri $uri/ index.php;
> }
>
>
> location ~ \.php$ {
> fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
> fastcgi_pass unix:/var/run/php-fpm.sock;
> fastcgi_index index.php;
> include fastcgi_params;
> fastcgi_param PATH_INFO $path_info;
> fastcgi_intercept_errors on;
> }
> }
>
> 2016-05-11 23:03 GMT+03:00 Alex Hall <ahall@autodist.com>:
>
>> Hi all,
>> I'm using Nginx (obviously), but I want to try OSTicket. The only
>> supported servers for it are, for whatever reason, Apache and IIS. I hate
>> IIS, and I don't know how I'd run Apache and Nginx together (plus Nginx
>> seems much simpler than Apache to me). Does anyone have OSTicket working
>> under Nginx by any chance?
>>
>> I've followed this recipe:
>> https://www.nginx.com/resources/wiki/start/topics/recipes/osticket/
>> but I can't get it to work. It hits a wall during installation, saying
>> that it can't create configuration settings (#7). If anyone has this up and
>> running successfully, I'd love to know how you did it. Hopefully the
>> OSTicket team will eventually support Nginx natively, but I'm not holding
>> my breath.
>>
>> --
>> Alex Hall
>> Automatic Distributors, IT department
>> ahall@autodist.com
>>
>> _______________________________________________
>> nginx mailing list
>> nginx@nginx.org
>> http://mailman.nginx.org/mailman/listinfo/nginx
>>
>
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>



--
Alex Hall
Automatic Distributors, IT department
ahall@autodist.com
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Anyone running OSTicket with Nginx?

Alex Hall May 11, 2016 04:04PM

Re: Anyone running OSTicket with Nginx?

Yuriy Medvedev May 11, 2016 04:12PM

Re: Anyone running OSTicket with Nginx?

Alex Hall May 11, 2016 04:28PM

Re: Anyone running OSTicket with Nginx?

Jim Ohlstein May 11, 2016 04:52PM

Re: Anyone running OSTicket with Nginx?

Alex Hall May 11, 2016 04:56PM

Re: Anyone running OSTicket with Nginx?

Jim Ohlstein May 11, 2016 05:06PM

Re: Anyone running OSTicket with Nginx?

Alex Hall May 11, 2016 05:22PM

Re: Anyone running OSTicket with Nginx?

Jim Ohlstein May 11, 2016 05:34PM

Re: Anyone running OSTicket with Nginx?

Alex Hall May 11, 2016 05:38PM

Re: Anyone running OSTicket with Nginx?

Yuriy Medvedev May 11, 2016 05:40PM

Re: Anyone running OSTicket with Nginx?

Jim Ohlstein May 11, 2016 05:52PM

Re: Anyone running OSTicket with Nginx?

Yuriy Medvedev May 11, 2016 04:58PM

Re: Anyone running OSTicket with Nginx?

Yuriy Medvedev May 11, 2016 05:04PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 236
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready