Note that there are some explanatory texts on larger screens.

plurals
  1. POInvalid update of symlink static files with nginx
    primarykey
    data
    text
    <p>I have got a Symfony2.2.1 project which run with a nginx/1.2.6 (Ubuntu 13.04 VirtualBox). The render of assets are ok with hard link.</p> <p>With symlink, it works only on the first initialisation. When I update a symlink source, the browser render transform my modifications with ����� characters. There is no errors from the browser and the part without modifications is not impacted.</p> <p>Example of the end of my CSS file after modification:</p> <pre><code>[...] div.form-actions { text-align: center; } ����� </code></pre> <p>Currently, I use hard link. I had not this problem with Apache2... :/</p> <p>Have you got an idea? Thanks</p> <p>Nginx site conf:</p> <pre><code>server { listen 80; root /media/sf_NetBeansProjects/XXXX/web; index app.php; server_name XXXX.lo; location / { # try to serve file directly, fallback to rewrite try_files $uri @rewriteapp; } location @rewriteapp { # rewrite all to app.php rewrite ^(.*)$ /app.php/$1 last; } location ~ ^/(app|app_dev)\.php(/|$) { fastcgi_pass unix:/var/run/php5-fpm.sock; fastcgi_split_path_info ^(.+\.php)(/.*)$; include fastcgi_params; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; fastcgi_param HTTPS off; } error_log /media/sf_NetBeansProjects/XXXX/app/logs/nginx_errors.log; access_log /media/sf_NetBeansProjects/XXXX/app/logs/nginx_access.log; } </code></pre> <p>The subtlety is that the media/sf_NetBeansProjects is a VirtualBox share folder with my Windows8 but as I say previously, apache2 was always ok with that.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload