Αγγλικά (αλλαγή) 
Ας ρίξουμε μια γρήγορη ματιά σε Nginx server μας και λάθος τόπο και κορμών πρόσβασης, και πού να τα βρείτε.
Έχετε ένα ζεύγος Nginx αρχεία καταγραφής του διακομιστή επίπεδο και για κάθε άλλο χώρο, αν δεν τους παραλειφθεί. Τα αρχεία καταγραφής των σφαλμάτων κάνει ακριβώς αυτό, συνδεθείτε τυχόν λάθη. Οι κορμοί πρόσβαση δείξουν τι έχουν στοιχεία web επιλυθεί από τη διεύθυνση IP και πότε.
Εκείνοι που ακολούθησαν εξυπηρετούν πολλαπλούς Sites & Blogs με Virtual Hosts χάραξε η θέση των κορμών σε κάθε χώρο ή blogs εικονικό αρχείο υποδοχής ή, αν συνδυασμένη διαμόρφωση κάθε τοποθεσία στο nginx.conf αρχείο σας, είναι οι θέσεις για τα αρχεία που υπάρχουν.
Εδώ είναι μια υπενθύμιση ούτως ή άλλως.
Σε 20 copy / paste βήματα .. από το μηδέν σε ήρωα, κενό το πλαίσιο για την χαριτωμένη-ως server Linux.
Μετακινηθείτε προς τα κάτω για το πλήρες ευρετήριο σειρά.
Έτσι, hey, υπόστεγο κοινές & εικονικής ζήτω! Hope it helps. The_guv
Να τους αναφέρω: --
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
sudo nano /home/public_html/someSite.com/log/access.log
And the error page:-
sudo nano /home/public_html/someSite.com/log/error.log
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.
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
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
sudo nano /home/public_html/someSite.com/log/access.log
And the error page:-
sudo nano /home/public_html/someSite.com/log/error.log
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.
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
THE_GUV NEEDS YOU!!
.. to improve this post ..
Please clue me in. What's wrong or missing?
Or, hey, just pile on the praise ;) Ah, yup, and fix a feed, fella.
Or link the page to your social network!
thank you, thanx, tx, ta, t, tsst, twaddle, cheek, cheers, cheerio