.

Nginx Chyba & Access Záznamy - VPS ADMIN # 9

English Angličtina (zmeniť)
  • Digg
  • Twitter
  • Technorati
  • del.icio.us
  • Facebook
  • MySpace
  • Reddit
  • StumbleUpon
  • LinkedIn
  • email

V prípade, že ste si neboli istí, kde žijú

nginx chybových protokolov image

Poďme sa rýchlo pozrieť na náš server a nginx stránkach chyba & prístup protokolov, a kde ich nájsť.

Máte jeden párov nginx guľatiny server-široký a iný pre každú stranu, ak ste ich vynechal. Chybových protokolov robiť len to, že záznam prípadné chyby. Prístup záznamy ukazujú, aké webové prvky, ktoré boli vyriešené IP adresu a kedy.

Tí, ktorí nasledovali Podávame viac stránok a blogy s Virtual Hosts vytýčené miesto záznamy v každej stránky alebo blogy virtuálnych hostiteľov alebo súbor, ak máte zviazané jednotlivých stránok nastavenia vo vašom nginx.conf súboru, sú miesta, aby tam dané súbory.

Tu je pripomienkou v každom prípade.

Nastaviť Unmanaged VPS (4 newbies) .. VPS Biblie

V 20 kopírovať / vložiť kroky .. od nuly k hrdinovi, prázdne políčko cute-Linux ako server.

Prejdite nadol na celej série indexov.

Tak, hej, búda zdieľané virtuálne & viva! Dúfam, že to pomôže. The_guv

Nginx Web Server Error & Access Log Lokality

Na zozname je: --

ls -l /usr/local/nginx/logs

Or to open them:-

sudo nano /usr/local/nginx/logs/error.log

.. substituting error.log for access.log as appropriate.

Or if you installed Nginx using the package manager, rather than compiling from source as is recommended in the VPS Bible, they're here:-

sudo nano /etc/nginx/logs

Web Site Error & Access Log Locations

sudo nano /home/public_html/someSite.com/log/access.log

And the error page:-

sudo nano /home/public_html/someSite.com/log/error.log

My Error or Access Log is a Blank File/Won't Open.

In the case of the error log, hopefully it is indeed empty. With the access log, maybe it's just too darn big and is taking a long time to open. If you really want to look at it, be patient. Else delete it and add a new, empty one:-

sudo rm /home/public_html/someSite.com/log/access.log && sudo nano /home/public_html/someSite.com/log/access.log

.. saving the empty file.


SETUP an Unmanaged VPS (4 Newbies) .. The V-P-S Bible

Serve multi sites & blogs on a budget .. at the fastest possible speed .. with the least downtime .. in the most secure environment .. and future-proofed for easy admin.

That's what the VPS Bible is about, stepped out in simple copy & paste guides.

From high traffic WordPress blogs to startup web hosts, here's what you need.

Set it up?   Click here for the 21 part follow-up .. V-P-S Admin

  1. * Includes video tutorial.

  2. Not linked = not published. Won't be long. Fix a feed for updates.


If you liked that ...
... maybe you'll like these?

.