Hi Janet,
It is weird then
Once you remove the ‘default’ symlink and reload the config, the old
configuration should no longer take effect.
Have you tried refreshing your browser after restarting/reloading nginx?
I’m suspecting the old index page was cached by your browser
Best regards,
Wong Kee W.
On 18/6/2013 3:59 AM, [email protected] wrote:
I installed nginx recently and haven’t changed anything in nginx.conf.
It actually doesn’t include /etc/nginx/sites-available/* but it does
include /etc/nginx/sites-enabled/*, which is where I put a symbolic link
oftypes_hash_max_size 2048; ## # nginx-naxsi config ##
}
…
On 17 June 2013 15:48, Sajan P. [email protected] wrote:
Did you restart nginx for the new configuration to take effect?
Run
‘sudo service nginx restart’ to do this. Also run ‘nginx -t’ to
test
[image: Noppix LLC Logo]
On 06/17/2013 09:36 AM, Janet Valbuena wrote:Hi
I’m new to nginx. I’m trying to configure a virtual server.
I’ve created a new server file under sites-enabled like this:
server {
listen 80; ## listen for ipv4; this line is default and
implied
}
fastcgi_param PATH_TRANSLATED
$document_root$fastcgi_path_info;
fastcgi_param SCRIPT_FILENAME
$document_root$fastcgi_script_name;
}
}Is there anything wrong with that?
When I type in blogtest/index.php on the browser I get the
default
config, which points to /usr/share/nginx/www/, even though I
deleted the
symbolic link to sites-available/default from sites-enabled.Note: /usr/share/nginx/cakephptest/app/webroot/index.php does
exist.
[email protected]
nginx Info Page– [image: WiFi SPARK] [image: Facebook] http://facebook.com/wifispark
[image: Twitter]http://twitter.com/wifispark Janet Valbuena Software
Developer t: 0844 848 9555 | *f: *01626 834 745 *w: *wifispark.com <
http://www.wifispark.com/> WiFi SPARK Ltd, Teignbridge Business Centre,
Cavalier Road, Newton Abbot, Devon, TQ12 6TZ This message and its
attachments are deemed confidential. If you are not the intended
recipient,
you are strictly prohibited to disclose, copy, distribute or take any
action in relation to the contents of this message. WiFi SPARK accepts
no
liability for virus transmission, for the content of this email, or for
the
consequences of any actions taken on the basis of the information
provided,
unless that information is subsequently confirmed in writing.
-------------- next part -------------- An HTML attachment was
scrubbed…
URL: <
http://mailman.nginx.org/pipermail/nginx/attachments/20130617/89980779/attachment-0001.html