Advertisement
VladimirZinchenko

Untitled

Apr 23rd, 2020
1,531
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Nginx 0.47 KB | None | 0 0
  1. server {
  2.     listen 80;
  3.     server_name rukodelie-rostov.test;
  4.  
  5.     client_max_body_size 118M;
  6.  
  7.     access_log /var/log/nginx/rukodelie.access.log;
  8.     error_log /var/log/nginx/rukodelie.error.log;
  9.  
  10.  
  11.     root /vagrant/rukodelie-rostov;
  12.     index index.php;
  13.  
  14.     location / {
  15.         try_files $uri $uri/ /index.php$args;
  16.     }
  17.  
  18.     location ~ \.php$ {
  19.         include snippets/fastcgi-php.conf;
  20.         fastcgi_pass unix:/var/run/php/php7.2-fpm.sock;
  21.     }
  22. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement