الوسم: nginx

  • How to give nginx or apache directory access

    How to give nginx or apache directory access

    Step 1: Determine PHP User Create a PHP file containing the following: Upload it to your web server. The output should be similar to the following: Therefore, the PHP user is www-data. Step 2: Determine Owner of Directory Next, check the details of the web directory via the command line: The result should be similar to…

  • استضافة عدة مواقع على سيرفر nginx واحد بأستخدام Bitnami

    استضافة عدة مواقع على سيرفر nginx واحد بأستخدام Bitnami

    السلام عليكم, يمكنك تقليل تكاليف الاستضافة من خلال استضافة عدة مواقع على VM واحدة من خدمات ازور, تحتاج الى سيرفر nginx وتقوم بالتالي: 2. قم بأضافة الكود التالي في الملف: 3. ننشيء ملف جديد بأسم: 4. نضع فيه الكود التالي: 5. نعمل ريستارت لسيرفر nginx: 6. بعدها نفعل خدمة https من خلال LetsEncrypt بأستخدام اداة…