Jump to content

Recommended Posts

Posted

Народ а подскажите начинающему поставил дэбиан среду установил под ней Nginx и удалил случайно /etc/nginx каталог а теперь при дальнейшей переустновке или даже новой устновке нгинкса (apt insttall nginx или apt reinstall nginx)эта директория не создаётся подскажи как переустновить нгинкс по чистому что бы он все каталоги и файлы сам заного создал....

  • 2 months later...
Posted

Попробуй

apt autoremove nginx

Если в каталоге /etc/nginx файлы были изменены пользователем, то папка и все пользовательские файлы останутся, поэтому удали папку вручную

rm -r /etc/nginx

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

This site uses cookies. By clicking "I accept" or continuing to browse the site, you authorize their use in accordance with the Privacy Policy.