Jump to content

problème de configuration nginx ERR_TOO_MANY_REDIRECTS


Recommended Posts

bonjour j'ai un souci de configuration ngnix:

 vous a redirigé à de trop nombreuses reprises.



Essayez de supprimer les cookies..
ERR_TOO_MANY_REDIRECTS
 
voici ma config ce fichier s'appelle presta.tmpl:
    location ~ .php$ {
        fastcgi_split_path_info ^(.+.php)(/.*)$;
        try_files $uri =404;
        fastcgi_keep_conn on;
        include /etc/nginx/fastcgi_params;
            fastcgi_pass unix:/run/php/php7.3-fpm.sock;
        fastcgi_index index.php;
        fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
        fastcgi_read_timeout 60m;
        fastcgi_send_timeout 60m;
        fastcgi_buffer_size 128k;
        fastcgi_buffers 256 16k;
        fastcgi_max_temp_file_size 0;
        fastcgi_busy_buffers_size 256k;
        fastcgi_temp_file_write_size 256k;
    }

 

ce bout de fichier est appelé par mon fichier principal:
 
server {
    listen 443 ssl http2 default_server;
    listen [::]:443 ssl http2 default_server;

    server_name  *.mondomaine.fr;
        root /var/www/html;
        index index.php index.html;

    # Les urls contennant /. (dotfiles)


    location ~ /\. {
        deny all;
        access_log off;
        log_not_found off;
    }

        location /moodle {
                include /etc/nginx/templates/moodle.tmpl;
        }
        location /presta {
                 include /etc/nginx/templates/presta.tmpl;
        }

les pages administration backend fonctionne mais pas la partie boutique frontend

 

si vous avez une idée, merci de vos réponse

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...