Tag Info

New answers tagged

1

Since you are using nginx already, why not ditch Apache+mod_php for php-fpm? That avoids the need for a proxy. After installing php5-fpm, add this vhost, and enable it with sudo ln -s ../sites-available/example.com.conf /etc/nginx/sites-enabled/ # /etc/nginx/sites-available/example.com.conf server { listen 80; server_name example.com; ...


0

I figured it out. Here is something that people trying to do the same should really know. So here is my shares. I come to a solution with the following: server { listen 80; access_log /var/www/site.com/logs/nginx.access.log; error_log /var/www/site.com/logs/nginx.error.log; root /var/www/site.com/public_html/public; ...


1

It sounds like your machine is compromised. Stop using it. Do not log in to email or banks. It's tough to know how badly you're compromised. Is someone targeting you specifically? Are they just looking for a spam host? A node for ddosing? There may now be software keyloggers capturing every username and password you type. Or maybe just rogue web and mail ...


5

Since both nginx and apache use port 80, there's a race condition here during start up. If nginx starts up first, Apache fails and vice-versa. So either: Remove nginx: sudo apt-get remove nginx - better option, since you apparently don't need it. Change /etc/nginx/sites-available/default so that it doesn't use port 80: listen 8080; # or any unused port ...


0

Run this command you can find problem. sudo nginx -t


0

Try creating the files NGINX is complaining about: sudo touch /var/log/nginx/error.log sudo touch /etc/nginx/nginx.conf Then try removing it: sudo apt-get install nginx-light Finally, install NGINX: sudo apt-get install nginx


1

$sudo apt-key add nginx_signing.key # content of key file is in the guide link Add official nginx source to the sources list by appending the following to the end of /etc/apt/sources.list deb http://nginx.org/packages/ubuntu/ codename nginx #codename is lucid in ubuntu 10.10 deb-src http://nginx.org/packages/ubuntu/ codename nginx Then run the ...


0

You are probably trying to use the nginx upstream source repositories. Unfortunately, those packages won't work if you're just trying to upgrade the packages and get the same things as Ubuntu/Debian have. The NGINX team (or rather, myself more or less) maintains a PPA of the Mainline branch of nginx and uses the Debian package as a base for the packaging. ...



Top 50 recent answers are included