Ver Mensaje Individual
  #4 (permalink)  
Antiguo 19/05/2015, 21:48
germangutierrez
 
Fecha de Ingreso: enero-2015
Mensajes: 43
Antigüedad: 9 años, 3 meses
Puntos: 3
Respuesta: cambiar apache por nginx

Justo este finde semana yo tambien realice la migracion de mi vhost de apache a nginx

Tenia un wordpress de prueba que tambien lo migre. Estoy corriendo nginx 1.6.2 sobre debian 8





esta es la conf
Código Apache:
Ver original
  1. server {
  2.     server_name ggutierrez.no-ip.info;
  3.  
  4.     # make sure Nginx can write to these files
  5. #    access_log /home/german/public_html/wordpress/nginxlogs/access.log;
  6. #    error_log /home/german/public_html/wordpress/nginxlogs/error.log;
  7.     root /home/german/public_html/wordpress/;
  8.  
  9.     location / {
  10.         index index.php;
  11.         try_files $uri $uri/ index.php$is_args$args;
  12.     }
  13.  
  14.     location ~ \.php$ {
  15.         include /etc/nginx/fastcgi_params;
  16.         fastcgi_pass unix:/var/run/php5-fpm.sock;
  17.         fastcgi_index index.php;
  18.         fastcgi_param SCRIPT_FILENAME /home/german/public_html/wordpress/$fastcgi_script_name;
  19.     }
  20. }