default.conf 441 B

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