Ghost and Use nginx on the Debian

use GHOST

learn too much command of Linux
for example:
adduser
userdel
modified user password : passwd username
Ghost use failed,fuck。 need another way to try on centOS;

solve the problem

I place my website files in the vps room where the dictionary's name is called /usr/share/nginx/www/
You can use cd /usr/share/nginx/www/,
then use git clone [something your website resource]
finally,to modified the nginx.conf ,just like this ---> vim /etc/nginx/site-available/default
the configuration of default is:
\# You may add here your
server {
listen 80; ## listen for ipv4; this line is default and implied
#listen [::]:80 default_server ipv6only=on; ## listen for ipv6
root /usr/share/nginx/www/website;
index first.html index.htm;
# Make site accessible from http://localhost/
#server_name localhost;
server_name www.komolei.cn ;
location / {
# Firstattempt to serve request as file, then
# as directory, then fall back to displaying a 404.
try_files $uri $uri/ /index.html;
# Uncomment to enable naxsi on this location
# include /etc/nginx/naxsi.rules
}
}

now,you can preview my website

plan,stand a flag

learn nginx ,and finish configuration file

Guide :

nginx
jianshu
useful file
useful file1
ipv6 test tool

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容