default.conf 523 B

1234567891011121314151617181920212223242526
  1. server {
  2. listen 80 default_server;
  3. root /var/www/html;
  4. index index.html;
  5. server_name *.figureslibres.cc;
  6. charset utf-8;
  7. location / {
  8. try_files $uri $uri/ /index.php?$query_string;
  9. }
  10. location = /favicon.ico { access_log off; log_not_found off; }
  11. location = /robots.txt { access_log off; log_not_found off; }
  12. access_log on;
  13. error_log /var/log/nginx/error.log error;
  14. sendfile off;
  15. client_max_body_size 100m;
  16. location ~ /\.ht {
  17. deny all;
  18. }
  19. }