Nginx config issue

Install and configure FormaLMS and DoceboCE
Post Reply
julien123
Newbie
Posts: 1
Joined: Thu Nov 09, 2023 11:33 am

Nginx config issue

Post by julien123 »

Hello,

I am trying to configure forma-lms (LMS 3.3.15) using nginx + php-fpm (7.4) + mysql.

I pass all 6 steps to configure database, all requierements passed. Once install process finish, I can logging to authentication page: http://forma-lms-ip

After that, nginx do a redirection to http://forma-lms-ip/..Lms

I am not a pro with nginx, I send you nginx conf for forma-lms website :

Code: Select all

        serverBlock: |-
          server {
            listen 0.0.0.0:8080;
            root /app;
            index index.html index.php;

            location / {
                try_files $uri $uri/ /app/index.php$is_args$args;
            }

            location ~ \.php$ {
              fastcgi_pass phpfpm-server:9000;
              include fastcgi_params;
            }
          }
Website is located at /app path, my php-fpm service is reachable to "phpfpm-server:9000".

Thanks for your help.

Regards,
alfa24
Senior Boarder
Posts: 2009
Joined: Fri Nov 24, 2017 8:45 am

Re: Nginx config issue

Post by alfa24 »

Sorry but it's not clear what the problem is, and the redirection link is not readable.
Anyway, nginx can act as reverse proxy server for apache, I don't know if Forma can run served directly by Nginx.
Per supporto GRATUITO contattatemi in privato qui
Post Reply