国产av日韩一区二区三区精品,成人性爱视频在线观看,国产,欧美,日韩,一区,www.成色av久久成人,2222eeee成人天堂

centos7 - Why does centos 7 display Welcome to nginx on Fedora! after installing nginx?
過去多啦不再A夢
過去多啦不再A夢 2017-05-16 17:24:23
0
3
1564

centos7 system installation nginx

vi /etc/yum.repos.d/nginx.repo

[nginx]
name=nginx repo
baseurl=http://nginx.org/packages/centos/7/$basearch/
gpgcheck=0
enabled=1

Install like this. After installation, it is nginx 1.6.2

The default page is displayed after installation

Welcome to nginx on Fedora!

Rather than the default page that has no style. There is no problem with this, the main thing is

/etc/nginx/conf.d/

There is no default.conf file in this directory. Why is this?

This problem did not occur during the original installation.

過去多啦不再A夢
過去多啦不再A夢

reply all(3)
為情所困

It turns out there is a source of epel.repo
Haha

迷茫

Well, I guess you have Alibaba Cloud installed it for you. You can compile it from source or modify the yum repo

迷茫

When you have the epel source and use yum install nginx to install it, it will display Welcome to nginx on Fedora!, because the epel source is maintained by Fedora

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template