Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- server {
- charset utf-8;
- client_max_body_size 128M;
- listen 80;
- server_name urtest.info;
- root /var/www/html/site/web;
- index index.php;
- access_log /var/log/nginx/site.info_access.log combined;
- error_log /var/log/nginx/site.info_error.log;
- location / {
- try_files $uri $uri/ /index.php?$args;
- }
- location ~ .php$ {
- fastcgi_pass unix:/run/php/php7.0-fpm.sock;
- include fastcgi.conf;
- }
- location ~ /.(ht|svn|git) {
- deny all;
- }
- }
Add Comment
Please, Sign In to add comment