دعونا نلقي نظرة سريعة على Nginx الخادم والموقع الخطأ وسجلات الوصول ، وأين يمكن العثور عليها.
لديك زوج واحد من Nginx سجلات الخادم على صعيد آخر ، ولكل موقع ، إلا إذا كنت أغفل لهم. سجلات الخطأ ان تفعل ذلك ، تسجيل أية أخطاء. وتظهر سجلات الدخول على شبكة الإنترنت ما هي العناصر التي تم حلها عن طريق معالجة الملكية الفكرية ومتى.
أولئك الذين اتبعوا خدمة مواقع متعددة ومدونات مع الافتراضي المضيفون وضعت في موقع سجلات في كل موقع أو بلوق الظاهرية المضيف ملف أو ، إذا كنت المجمعة لكل موقع التكوين في ملف nginx.conf ، مواقع للملفات وترد هناك.
وهنا تذكرة على أية حال.
انشاء قاعدة بيانات الفيروسات أونمنجد (4 نوبي).. الكتاب المقدس المبادئ الطوعية
في 20 نسخ / لصق خطوات.. من صفر إلى بطل ، مربع فارغ لطيف ، وخادم لينكس.
بالتمرير لمؤشر سلسلة كاملة.
لذا ، مهلا ، تسليط المشتركة وتحيا الظاهري! نأمل أن يساعد. the_guv
Nginx خادم ويب خطأ & سجل الوصول المواقع
إلى قائمة منها : --
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.
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.
Congratulations! You have one humdinger of a web server! If you followed the Bible to a T, it's speedy, solid & secure.
But. As explained in Part 16 , the Nginx web server has no compatible control panel .. yet. Then again, even if it did, do you really want the resource drain?
In the VPS Admin series is every maintenance procedure you'll need to know. And, hey, using these is a darn sight faster than using a control panel anyhow.
Set it up? Click here for the 21 part follow-up .. V-P-S Admin
Go back? Click here for the original series .. The V-P-S Bible
- * Includes video tutorial.
- Not linked = not published. Won't be long. Fix a feed for updates.
If you liked that ...
-
Create additional sites & blogs quickly & easily. After creating the DNS entries, just add a vhost file, its symlink, restart Nginx and go play.
OK. So I did this guide already, already! But as this is one [...]
-
If you're using nginx, and your domain name exceeds 32 characters, you may receive an error message when you restart the web server.
Quite likely, you need to tell nginx to allow for longer domain names.
To do so, [...]
-
Create sub-sites or prefixed WordPress blogs quickly & easily. Just create an A record, add a vhost file & symlink and restart Nginx.
This is very similar to adding a domain, which is detailed here and [...]
-
Easily restrict access to hide sensitive data, admin areas & other web pages using the Nginx web server's Auth_Basic security module & the htpasswd password creation tool.
What we're gonna do, essentially, is to [...]
-
How to install PMA with Nginx, to administer multiple MySQL dbs from anywhere. View table structure, browse data, run queries, backup and more.
Adding phpMyAdmin to the Nginx web server is very like adding a [...]
-
Installing & configuring Nginx web server, tweaking the default file structure, then setting up a vhost file with symlink is the subject of this copy/paste how-to. So open up that CLI and I'll explain.
So [...]
... maybe you'll like these?
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