После переноса сайта ошибка 403

.htaccess на nginx не действует. Для начала - настройки nginx в студию
#AUTOMATICALLY GENERATED - DO NO EDIT!

user www-data www-data;
pid /var/run/nginx.pid;
worker_processes 2;
worker_rlimit_nofile 100000;

events {
worker_connections 4096;
include /etc/nginx.custom.events.d/*.conf;
}

http {
default_type application/octet-stream;

access_log off;
error_log /var/log/nginx/error.log crit;

sendfile on;
tcp_nopush on;

keepalive_timeout 20;
client_header_timeout 20;
client_body_timeout 20;
reset_timedout_connection on;
send_timeout 20;

types_hash_max_size 2048;

gzip on;
gzip_disable "msie6";
gzip_proxied any;
gzip_min_length 256;
gzip_comp_level 4;
gzip_types text/plain text/css application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript application/javascript text/x-js;

server_names_hash_bucket_size 128;

include mime.conf;
charset UTF-8;

open_file_cache max=100000 inactive=20s;
open_file_cache_valid 30s;
open_file_cache_min_uses 2;
open_file_cache_errors on;

server_tokens off;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;

include proxy.conf;
include fcgi.conf;

include conf.d/*.conf;
include /etc/nginx.custom.d/*.conf;
}

include /etc/nginx.custom.global.d/*.conf;
 
Я имел в виду - настройки hginx в части виртхоста
 
Назад
Сверху