Nginx reinstall configuration file

WBOY
Release: 2016-07-30 13:31:08
Original
1014 people have browsed it

After deleting the configuration file under /etc/nginx

Use apt-get remove nginx and there is still no configuration file after reinstalling

Solution

<code>sudo apt<span>-get</span> remove <span>--</span>purge nginx nginx<span>-common</span> nginx<span>-core</span>sudo apt<span>-get</span> install nginx nginx<span>-common</span> nginx<span>-core</span></code>
Copy after login

Can solve it

Copyright statement: This article is original by the blogger Articles may not be reproduced without the permission of the blogger.

The above introduces the Nginx reinstallation configuration file, including the relevant content. I hope it will be helpful to friends who are interested in PHP tutorials.

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template