You are not logged in.


 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2020-05-23 18:09:04

Registered: 2020-05-23
Posts: 1

subfolder missing in frame

hello, when I am in the ticket screen and I want to edit the columns, pressing "add" tells me "page not found".
I installed glpi in a subfolder (ticket) on my server, where I have another service in the root.
The address from which I hit "add" is
cloud. clgsistemi. it/ticket/front/ticket.php
but the address of the frame becomes
cloud. clgsistemi. it/front/displaypreference.form.php.
Disappears the "ticket" folder from the url.
I am also attaching my nginx configuration, something is probably missing, I tried to find if someone had a similar problem but I only found something about the url of the images.
Thank you very much

 server {
        listen       80;
        rewrite ^ https://$http_host$request_uri? permanent;
        server_tokens off;

    server {
        listen 443 ssl http2;
        ssl on;
        ssl_certificate /usr/share/nginx/html/.well-known/acme-challenge/;
        ssl_certificate_key /usr/share/nginx/html/.well-known/acme-challenge/;
        ssl_session_timeout 10m;
        ssl_session_cache shared:SSL:30m;
        #SSL Security
        ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
        ssl_ecdh_curve secp384r1;
        ssl_prefer_server_ciphers on;
        server_tokens off;
        ssl_session_tickets off;
        proxy_set_header X-Forwarded-For $remote_addr;

        location / {
            proxy_set_header   Host $host;
            proxy_set_header   X-Real-IP $remote_addr;
            proxy_set_header   X-Forwarded-For $proxy_add_x_forwarded_for;
            proxy_set_header   X-Forwarded-Host $server_name;
            proxy_read_timeout  1200s;
            client_max_body_size 0;
            access_log      /var/log/nginx/seahub.access.log;
            error_log       /var/log/nginx/seahub.error.log;

	location /seafdav {
        	lines removed

        location /seafhttp {
            lines removed
        location /media {
            lines removed

	location /ticket {
        	alias /var/www/html/ticket;
		index index.php;
		fastcgi_read_timeout 300;
     		proxy_read_timeout 300;
		add_header X-Frame-Options "SAMEORIGIN";		
		location ~ \.php$ {
                try_files $uri =404;
                fastcgi_split_path_info ^/ticket(/.+\.php)(.*)$;
                fastcgi_index index.php;
                # Change this to your fpm socket
                fastcgi_pass unix:/var/run/php/php7.2-fpm.sock;
                fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
                fastcgi_param PATH_INFO $fastcgi_path_info;
                include fastcgi_params;


Board footer

Powered by FluxBB