Giter Site home page Giter Site logo

Comments (3)

Wutze avatar Wutze commented on May 26, 2024

manually install node 12

That is correct and yes, the idea as you have executed it is a good one.

However, the error 500 seems to be an error in the configuration of the web server in connection with PHP. I suspect, I can't test it due to the lack of CentOS7, that this could be the problem.

The libraries with node 12 are "only" the Java-Script libraries to display the website.

The log file from the installation also looks good. I can't see any errors.

Are the permissions to the webroot correct?
This ~> define permissions on centos : apache:apache

from openvpn-webadmin.

chienbinhso14 avatar chienbinhso14 commented on May 26, 2024

I'm using nginx.
I've chown nginx:nginx on wwwroot but it doesn't work.
I will try fresh install again to verify error.

from openvpn-webadmin.

Wutze avatar Wutze commented on May 26, 2024

nginx:nginx is fine

I guess you might have problems with the fast_cgi of PHP. If I am not mistaken, you would have to install the following for this

yum -y install php-fpm php-cli

And then enter this for the NGINX.config so that PHP can be found and executed.

location ~ \.php$ {
	try_files $uri =404;
            fastcgi_pass 127.0.0.1:9000;
            fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
	include fastcgi_params;
            fastcgi_index index.php;
            fastcgi_param HTTP_PROXY "";
            #include fastcgi.conf;
            # fastcgi_intercept_errors on;
}

from openvpn-webadmin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.