Nginx for Symfony

Aleksandar Lazic al-nginx at none.at
Sat May 24 19:26:53 MSD 2008


Hi Denis,

On Sam 24.05.2008 21:43, Denis F. Latypoff wrote:
>
>Saturday, May 24, 2008, 9:18:20 PM, you wrote:

>>          location / {
>-            root   /home/httpd/virtserver/<DOMAIN>/html;
>
>-            if ($request_filename !~ "\.(js|htc|ico|gif|jpg|png|css|htm)$") {
>>              rewrite ^(.*) /index.php last;
>-            }
>-            index  index.html index.htm;
>>          }
>
>+          location ~ \.(js|htc|ico|gif|jpg|png|css|html?)$ {
>+            root   /home/httpd/virtserver/<DOMAIN>/html;
>+            index  index.html index.htm;

Thank you.

Cheers

Aleks





More information about the nginx mailing list