1 down vote favorite I just installed nginx version 1.2.5 on a new server and discovered that I can not change the default file for default website. In /etc/nginx/sites-available/default file I have the following lines: server { listen 80 default_server; server_name myserver; access_log /var/log/nginx/access.log; error_log /var/log/nginx/error.log; root /var/www/deby tfe - How to...
Hello, I successfully installed nging+php5-fpm. Everything works fine but on the same machine server load is higher than with apache2+php. With Apache2+php I was running 2 websites and average server load was 0.1...0.2...0.3 and at peaktimes about 0.8-0.9. With nginx+php5 fpm I am running only one busy website (the sama as with apache) but load is about 0.3... 0.6... 0.7, and it's not a pby tfe - How to...
I would like to change the default nginx error files - 404, etc but can't find them. Anyone knows where these files are located? Thanks.by tfe - How to...
Noone can answer this question? Please, I need it urgently. The new server is ready and I have to disconnect the old server. I need to know if "if" may cause some problems in this rewrite rule.by tfe - How to...
I use this rule for rewriting if directory doesn't exist: if (!-d $request_filename ) { rewrite ^/([^/.]+)$ /profile.php?nick=$1 last; } The tutorial says that "if" is bad. Is there any way how to change this rule so tyhat it works without "if"? Thanks.by tfe - How to...
Problem solved. Just followed this instruction: http://wiki.nginx.org/Install#Official_Debian.2FUbuntu_packagesby tfe - How to...
I just installed nginx + php5-fpm on Debian 6.0 server. I installed nginx with apt-get install nginx command and now I have an old version 0.7.67 I need step by step instructions how to update nginx without breaking something in nginx or php5-fpm. Can somebody help me?by tfe - How to...
![]() |
![]() |
![]() |
![]() |
|