server { listen 80; root /var/www/html/performance-art.fr/static_html; index index.html index.js index.css index.json index.woff index.ttf index.png index.gif; server_name static.performance-art.fr; rewrite ^/(fr|en)/(sites|modules|misc)/(.*)$ /$2/$3 last; rewrite ^/(fr|en)/perfart/ajax/(.*)$ /$1/perfart/ajax/$2.json last; charset utf-8; access_log on; error_log /var/log/nginx/error.log error; }