Giter Club home page Giter Club logo

Comments (3)

panique avatar panique commented on June 18, 2024

hi, have you changed something inside the default config ?

from mini.

ntnetx avatar ntnetx commented on June 18, 2024

Hello
I am using Centos 7 the default configuration /etc/nginx/conf.d is configured so

default.conf

server {
listen 80;
server_name 192.168.15.50;

note that these lines are originally from the "location /" block

root /home/sites;
index index.php index.html index.htm;

location / {
index index.php;
try_files /$uri /$uri/ /index.php?url=$uri;
rewrite ^/(.*) /public/$1 break;
}

error_page 404 /404.html;
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root /home/sites;
}

location ~ .php$ {
try_files $uri =404;
fastcgi_pass unix:/var/run/php-fpm/php-fpm.sock;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
}
}

I'm using the PHP 7.2 version follows the php information set up

http://189.47.168.190/info.php

The default folder that the site file is is / home / sites

Anything could help me if in case I pass the data ssh root from vps have any email I can send the access data?

from mini.

panique avatar panique commented on June 18, 2024

sorry i have no idea how centos works

from mini.

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.