trailing / problem

Denis F. Latypoff denis at gostats.ru
Mon Feb 18 14:30:28 MSK 2008


Hello Denis,

Monday, February 18, 2008, 5:21:33 PM, you wrote:

> Hello just,

> Monday, February 18, 2008, 5:10:37 PM, you wrote:

>> Here it is:

>> If there is any other prob that anyone finds with this config, please let me
>> know.

> [...]

>>     server {
>>         listen       80;
>>         server_name  localhost;

-          server_name_id_redirect off;
+          server_name_in_redirect off;

>>         #charset koi8-r;
>>         #access_log  logs/host.access.log  main;

> [...]

>>>
>>> > Now when I enter www.mysite.com/testsite/ it works fine, but when I try
>>> > www.mysite.com/mysite it redirects me to http://localhost/testsite/
>>>
>>> > What is the problem here.





-- 
Best regards,
 Denis                            mailto:denis at gostats.ru






More information about the nginx mailing list