Welcome! Log In Create A New Profile


Re: Problem with Firefox

September 04, 2010 06:28PM
Change it to:
server_name mydomain.com www.mydomain.com;

------Original Message------
From: bhkien
To: nginx@nginx.org
ReplyTo: nginx@nginx.org
Subject: Problem with Firefox
Sent: Sep 4, 2010 3:49 PM


I install NginX 0.8.50 on my server.

It works OK with Internet Explorer, Chrome but on FireFox the website
does not work without www.

My virtual host config below


server {
listen 80;
server_name mydomain.com;
rewrite ^/(.*) http://www.mydomain.com/$1 permanent;

server {
listen 80;
server_name www.mydomain.com;
location / {
root /var/www/vhosts/mydomain.com/httpdocs;
index index.html index.htm index.php;

location ~ \.php$ {
include /etc/nginx/fastcgi_params;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME


Can you please help me to solve this problem.

Thanks in advance,

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,127145,127145#msg-127145

nginx mailing list

nginx mailing list
Subject Author Posted

Problem with Firefox

bhkien September 04, 2010 04:49PM

Re: Problem with Firefox

Kevin September 04, 2010 06:28PM

Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 333
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready