hello all,
is there anything new here yet? i have also implemented a lot of forum posts but the error with the rewrite api for oauth2 can not be solved. does anyone have a working nginx php? Thanks to the whole team
meine nginx config datei:
`server {
listen 80;
server_name xxx.xxxxxxx.xxx; ## change server_name as per your domain>
root /var/www/osticket/upload;
access_log /var/log/nginx/access.log;
error_log /var/log/nginx/error.log;
index index.php index.html index.htm;
Enable gzip
gzip on;
gzip_min_length 1000;
gzip_types text/plain application/x-javascript text/xml text/css application/xm>
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;
include fastcgi_params;
include snippets/fastcgi-php.conf;
fastcgi_pass unix:/run/php/php8.0-fpm.sock;
}
}
`
Vielleicht fällt jemandem etwas auf, was das Problem vieler lösen kann. Danke