wmaraci reklam
lidertakipci

Nginx hatası

2 Mesajlar 503 Okunma
advertseo
wmaraci reklam

SERJOY SERJOY SEO Ajansı Bronz Üye
  • Üyelik 23.05.2018
  • Yaş/Cinsiyet 29 / E
  • Meslek SEO
  • Konum İstanbul Avrupa
  • Ad Soyad S** A**
  • Mesajlar 469
  • Beğeniler 192 / 193
  • Ticaret 26, (%100)
Welcome to nginx on EPEL!
This page is used to test the proper operation of the nginx HTTP server after it has been installed. If you can read this page, it means that the web server installed at this site is working properly.

Website Administrator
This is the default index.html page that is distributed with nginx on EPEL. It is located in /usr/share/nginx/html.

You should now put your content in a location of your choice and edit the root configuration directive in the nginx configuration file /etc/nginx/nginx.conf.

Bu hata nedir dostlar
 

 

wmaraci
reklam

mts mts WM Aracı Kullanıcı
  • Üyelik 18.10.2013
  • Yaş/Cinsiyet 36 / E
  • Meslek Uykucu
  • Konum Diğer
  • Ad Soyad S** U**
  • Mesajlar 476
  • Beğeniler 54 / 125
  • Ticaret 22, (%100)
Site dosyalarını bu klasöre koyacaksın /usr/share/nginx/html ve şuan bu klasörde kendi oluşturduğu bir index.html dosyası var. Fakat mesela index dosyanız index.html değil de index.php ise, /etc/nginx/ klasöründe yer alan nginx.conf dosyasını açın;

index index.html;

olan yeri;

index index.php;

olarak düzenleyin.
Not: Bu işlemleri yapmadan önce, düzenlediğiniz dosyanın bir yedeğini de almayı unutmayın.

Bu işlemi tamamladıktan sonra yapılan değişikliğin etkinleşebilmesi için;

"sudo service nginx restart" komutunu kullanın (ubuntu server için böyle) nginx'i kurduğunuz linux dağıtımı neyse o sistemin komutu farklı olabilir google'dan araştırabilirsiniz bunu.
 

 

wmaraci
Konuyu toplam 1 kişi okuyor. (0 kullanıcı ve 1 misafir)
Site Ayarları
  • Tema Seçeneği
  • Site Sesleri
  • Bildirimler
  • Özel Mesaj Al