@ipvinner wrote:
Hello, I’d like to start Freepbx 15 on nginx and php-fpm
php 7.1 and latest version nginx installed
nginx.conf
server {
…
root /var/www/html/;
index index.php index.html index.htm;location ~* \.(jpg|jpeg|gif|png|ico|css|bmp|swf|js|html|txt)$ { root /var/www/html; } location / { try_files $uri $uri/ /index.php?q=$uri&$args; } location ~ \.php$ { fastcgi_pass unix:/var/run/php-fpm/php-fpm.sock; fastcgi_index index.php; fastcgi_param DOCUMENT_ROOT /var/www/html/; fastcgi_param SCRIPT_FILENAME /var/www/html$fastcgi_script_name; fastcgi_param PATH_TRANSLATED /var/www/html/$fastcgi_script_name; include fastcgi_params; fastcgi_param QUERY_STRING $query_string; fastcgi_param REQUEST_METHOD $request_method; fastcgi_param CONTENT_TYPE $content_type; fastcgi_param CONTENT_LENGTH $content_length; fastcgi_intercept_errors on; fastcgi_ignore_client_abort off; fastcgi_connect_timeout 60; fastcgi_send_timeout 180; fastcgi_read_timeout 180; fastcgi_buffer_size 128k; fastcgi_buffers 4 256k; fastcgi_busy_buffers_size 256k; fastcgi_temp_file_write_size 256k; }
and have 2 issues:
$.removeCookie is not a function
and
https://url/admin/ajax.php?module=core&command=getExtensionGrid&type=custom&search=&order=asc&_=1581405862113 401
{“error”:“Not Authenticated”}althought redirected to dashboard page after login. Possible somebody has already installed freepbx with nginx, please could you you help how to configure that?
Posts: 1
Participants: 1