Problem Description Install nginx on Tencent Cloud CentOS7 Open the default web page display Welcome to nginx on Fedora! and There is no default.conf file in the directory reason The default download source of Tencent Cloud's epel is Fedora's Workaround •Preparation • Create nginx.repo file And add the following [nginx-stable] name=nginx stable repo baseurl=http://nginx.org/packages/centos/$releasever/$basearch/ gpgcheck=1 enabled=1 gpgkey=https://nginx.org/keys/nginx_signing.key [nginx-mainline] name=nginx mainline repo baseurl=http://nginx.org/packages/mainline/centos/$releasever/$basearch/ gpgcheck=1 enabled=0 gpgkey=https://nginx.org/keys/nginx_signing.key • Install nginx Reference Links: http://nginx.org/en/linux_packages.html Summarize The above is what I introduced to you. After installing nginx on Centos7, the prompt "Welcome to nginx on Fedora!" is displayed. There is no default.conf file in the conf.d directory. I hope it will be helpful to you. If you have any questions, please leave me a message and I will reply to you in time. I would also like to thank everyone for their support of the 123WORDPRESS.COM website! You may also be interested in:
|
<<: How to import, register and use components in batches in Vue
>>: mysql three tables connected to create a view
First method Alibaba Cloud and Baidu Cloud server...
Find the running container id docker ps Find the ...
I use tengine, the installation directory is /usr...
Table of contents 1. Problem Background 2. What a...
1. InnoDB locking mechanism The InnoDB storage en...
Table of contents The first The second Native Js ...
<br />Now let's take a look at how to cl...
1. Prerequisites We use the require.context metho...
1. position : fixed Locked position (relative to ...
We can view the installation path of mysql throug...
Table of contents What is a mind map? How to draw...
Use of v-on:clock in Vue I'm currently learni...
1. Background Generally, for Docker containers th...
1. Use the transform attribute to display the ima...
Table of contents Reactive Function usage: toRef ...