You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

vhost.conf 553B

1234567891011121314151617
  1. server {
  2. listen 80;
  3. server_name ____HOST____;
  4. root ____PROJECT_DIR____/public;
  5. location / {
  6. try_files $uri /index.php$is_args$args;
  7. }
  8. location ~ ^/(index).php(/|$) {
  9. fastcgi_pass unix:/run/php/____PHP_FPM_SOCK____;
  10. fastcgi_split_path_info ^(.+.php)(/.*)$;
  11. include fastcgi_params;
  12. fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
  13. fastcgi_param HTTPS off;
  14. }
  15. error_log /var/log/nginx/benchmark_error.log;
  16. access_log /var/log/nginx/benchmark_access.log;
  17. }