Cần hỗ trợ Cenos + Nginx + Php-Fpm Cài đặt drupal lỗi 403 Forbidden

Mình có vấn đề khi tập tành cài đặt Drupal 8 trên Cenos sử dụng Nginx + php-fpm. Toàn bộ file .css và .js đều bị lỗi 403. Đã gán user sở hữu cho thư mục gốc, phân quyền thư mục gốc 755.
Nội dung file cấu hình:

server {
listen 80;
server_name www.domain.com domain.com;

#charset koi8-r;
#access_log  /var/log/nginx/log/host.access.log  main;
error_log               /home/nginx/user/domain.com/log/error.log  error;

root    /home/nginx/user/domain.com/public_html;

location = /favicon.ico {
    log_not_found off;
    access_log off;

location = /robots.txt {
    allow all;
    log_not_found off;
    access_log off;

# Very rarely should these ever be accessed outside of your lan
location ~* \.(txt|log)$ {
    deny all;

location ~ \..*/.*\.php$ {
    return 403;

location ~ ^/sites/.*/private/ {
    return 403;

# Allow "Well-Known URIs" as per RFC 5785
location ~* ^/.well-known/ {
    allow all;

# Block access to "hidden" files and directories whose names begin with a
# period. This includes directories used by version control systems such
# as Subversion or Git to store control files.
location ~ (^|/)\. {
    return 403;

location / {
  autoindex on;
    # try_files $uri @rewrite; # For Drupal <= 6
    try_files $uri /index.php?$query_string; # For Drupal >= 7

location @rewrite {
    rewrite ^/(.*)$ /index.php?q=$1;

# Don't allow direct access to PHP files in the vendor directory.
location ~ /vendor/.*\.php$ {
    deny all;
    return 404;

# In Drupal 8, we must also match new paths where the '.php' appears in
# the middle, such as update.php/selection. The rule we use is strict,
# and only allows this pattern with the update.php front controller.
# This allows legacy path aliases in the form of
# blog/index.php/legacy-path to continue to route to Drupal nodes. If
# you do not have any paths like that, then you might prefer to use a
# laxer rule, such as:
#   location ~ \.php(/|$) {
# The laxer rule will continue to work if Drupal uses this new URL
# pattern with front controllers other than update.php in a future
# release.
index           index.php index.html;
location ~ '\.php$|^/update.php' {
    fastcgi_index index.php;
    fastcgi_split_path_info ^(.+?\.php)(|/.*)$;
    # Security note: If you're running a version of PHP older than the
    # latest 5.3, you should have "cgi.fix_pathinfo = 0;" in php.ini.
    # See http://serverfault.com/q/627903/94922 for details.
    include fastcgi_params;
    # Block httpoxy attacks. See https://httpoxy.org/.
    fastcgi_param HTTP_PROXY "";
    fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
    fastcgi_param PATH_INFO $fastcgi_path_info;
    fastcgi_param QUERY_STRING $query_string;
    fastcgi_intercept_errors on;
    # PHP 5 socket location.
    #fastcgi_pass unix:/var/run/php5-fpm.sock;
    # PHP 7 socket location.
    #fastcgi_pass unix:/var/run/php/php7.0-fpm.sock;

# Fighting with Styles? This little gem is amazing.
# location ~ ^/sites/.*/files/imagecache/ { # For Drupal <= 6
location ~ ^/sites/.*/files/styles/ { # For Drupal >= 7
    try_files $uri @rewrite;

# Handle private files through Drupal. Private file's path can come
# with a language prefix.
location ~ ^(/[a-z\-]+)?/system/files/ { # For Drupal >= 7
    try_files $uri /index.php?$query_string;

location ~* \.(js|css|png|jpg|jpeg|gif|ico)$ {
    expires max;
    log_not_found off;


Cấu hình dựa trên: https://www.nginx.com/resources/wiki/start/topics/recipes/drupal/

Có bạn nào đã cài đặt thành công rồi có thể hướng dẫn giúp mình với. Apache thì đơn giản mà sang nginx cấu hình mấy cái rewrite phức tạp quá.

Cảm ơn các bạn nhiều!


thunder jerseys, long champ, northface, omega watches, coach bags outlet, coach factory outlet, valentino shoes, polo ralph, nfl jerseys, michael kors outlet, tory burch sale, eyeglasses frames, cheap oakley sunglasses, polo outlet online, replica watches, swarovski online shop, michael kors outlet online, tory burch, nfl cowboys jerseys, nhl jerseys, pandora charms, ralph lauren, wholesale handbags, pandora charms, ray ban wayfarer, michael kors bags, air jordan shoes, lacoste outlet, coach bags friday, kate spade outlet, longchamp black friday, ray-ban sunglasses, tommy hilfiger outlet, adidas online shop, swarovski canada, mcm backpack outlet, longchamp, michael kors uhren, michael kors bags, giuseppe zanotti sneakers, nba jersey, salomon, polo ralph lauren, coach outlet, mbt shoes, ray ban prezzi, converse, north face outlet, oakley vault, nike running shoes, nike shoes, memphis grizzlies jerseys, coach outlet usa, louboutin, nike outlet, kate spade handbags, ray ban sunglasses outlet, pandora jewellery australia, purses and handbags, michael kors outlet online sale, nfl jets jerseys, red bottom shoes, adidas zx, ralph lauren outlet online, adidas online shop, burberry sale, cheap true religion, prada handbags, louboutin shoes, nfl eagles jerseys, versace, hogan, michaelkors.com, north face canada, hugo boss, michael kors outlet online sale, nfl packers jerseys, barbour jackets outlet, phoenix suns jerseys, nike factory outlet, ray ban, nike air, coach factory outlet, nfl lions jerseys, toms shoes, under armour outlet, ferragamo, sacramento kings jerseys, christian louboutin, supra shoes, iphone 4s cases, prada, ecco mens shoes, jimmy choo outlet, coach factory outlet online, air max shoes, true religion, nfl patriots jerseys, omega, the north face outlet, true religion outlet, pandora bracelet, basketball shoes, barbour outlet store, long champ, nike shoes, nfl raiders jerseys, burberry, montre femme, oakley, nfl titans jerseys, puma online shop, ralph lauren black friday, prada outlet, air max 95, north face, detroit pistons jersey, ray bans, nike roshe run, dsquared2 shoes, polo ralph lauren, burberry handbags, boutique clothing, nfl browns jerseys, air max, rayban, ralph lauren uk, flat iron, washington wizards jerseys, toms.com, timberland outlet, cheap jordans, mlb jerseys, chi flat iron, nike factory, ray ban outlet, jimmy choo, michael kors, michael kors handbags, vibram five fingers, doudoune north face, air yeezy, burberry outlet online, hermes birkin, huarache, true religion jeans women, ray-ban sunglasses, milwaukee bucks jerseys, nfl seahawks jerseys, oakley store, toms outlet, nfl steelers jerseys, air jordan, michael kors handbags, michael kors outlet online, calvin klein outlet, nike store, cheap michael kors, hollister clothing, plein shoes, toronto raptors jerseys, ray ban sunglasses, nike roshe run, dsquared2 sale, armani watches, tommy hilfiger online shop, oakley, thomas sabo, michael kors purses, swarovski crystal, rolex replica, nike, horloges, easton bats, coach outlet online, hollister co, polo ralph lauren outlet, kate spade bags, ralph lauren polo, ralph lauren outlet, utah jazz jerseys, air max 2007, jordan retro 11, nfl panthers jerseys, tory burch sale, michael kors outlet online, asics gel, oakley sunglasses, burberry outlet online, beats by dr dre, coach outlet, giuseppe zanotti, ed hardy, nfl chiefs jerseys, kate spade handbags, michael kors black friday, iphone 5s cases, air max pas cher, adidas shoes, hollister, michael kors, ray ban pas cher, nike air max, air jordan retro, brooklyn nets, swarovski, nfl bears jerseys, mcm handbags, nfl dolphins jerseys, marc jacobs handbags, wholesale handbags, beats by dre headphones, pandora jewelry, ray ban pas cher, air max thea, nike id, timberland pas cher, converse, louboutin shoes, oakley sunglasses, marc jacobs handbags, nfl vikings jerseys, hollister clothing store, polo ralph lauren outlet, nba jersey, coach factory online, michael kors outlet, cheap oakley sunglasses, converse outlet, omega watches, nike mercurial, swarovski crystal, new balance, hollister online shop, burberry outlet, michael kors handbags, cheap ray ban, rolex watches, p90x3, new balance, nfl giants jerseys, polo ralph lauren outlet online, tommy hilfiger canada, atl jerseys, oakley, burberry handbags, true religion jeans outlet, shoes outlet, burberry outlet online, lebron james shoes, burberry handbags, golden state warriors, michael kors bags, nike free, cheap coach purses, jordans, omega watches, oakley sunglasses outlet, thomas sabo, adidas, huaraches, spurs jerseys, jerseys from china, tommy hilfiger outlet stores, nfl chargers jerseys, swarovski jewelry, burberry handbags, clippers jerseys, north face backpacks, bcbg max azria, nfl bengals jerseys, rolex watches, timberland shoes, tn requin pas cher, michael kors, ferragamo shoes, celine outlet, orlando magic jerseys, lakers jersey, hollister co, new orleans pelicans jerseys, nfl jaguars jerseys, nike roshe run, soccer shoes outlet, ray ban uk, nike air max, minnesota timberwolves jerseys, supra shoes outlet, air max 90, huarache, oakley outlet, cheap michael kors, nfl falcons jerseys, vans, coach outlet online, babyliss flat iron, burberry, ralph lauren, burberry outlet, oakley sunglasses cheap, toms outlet, 76ers jerseys, levis outlet, nike soccer shoes, easton bats, oakley pas cher, louboutin shoes, rockets jerseys, woolrich clearance, longchamp, juicy couture handbags, fendi shoes, michael kors, adidas.nl, timberland boots, coach black friday, coach shop factory, adidas clothings, mavericks jerseys, ray ban, instyler, portland trail blazers jerseys, mens hoodies, coach factory, oakley holbrook, polo ralph, cheap oakley, nfl saints jerseys, pandora, toms shoes outlet, wedding dress, christian louboutin, michael kors purses, givenchy, mizuno, nfl bills jerseys, nike, tommy hilfiger, nba jersey, nike shoes, uhren shop, dre headphones, ray ban black friday, ralph lauren outlet, nike free, mlb jerseys, chrome hearts clothings, air max, nfl 49ers jerseys, true religion jeans outlet, nfl redskins jerseys, nhl jerseys, barbour mens jackets, nfl colts jerseys, cheap ray ban, hogan sito ufficiale, nike jordan, tory burch handbags, new balance shoes, asics, juicy couture clothings, air force, roshe, coach outlet store, michael kors outlet online sale, ray ban outlet, designer handbags, celine outlet online, air max, tommy hilfiger online, ralph lauren uk, nfl azcardinals jerseys, nfl buccaneers jerseys, nike roche, rolex watch, nike, hermes belt, ray bans, salvatore ferragamo, burberry outlet online, air max, hornets jersey, indiana pacers jerseys, bulls jersey, mcm bags, nfl rams jerseys, ray ban, hermes birkin bag, barbour, jordan retro, free running, michael kors outlet online, hilfiger outlet, coach outlet, nike air max, the north face, nike roshe run, hermes tracksuits, oakley black friday, nfl ravens jerseys, michael kors, burberry outlet online, nfl jerseys, converse sneakers, mcm backpack, north face jackets, new york knicks jersey, ralph lauren, mcm bags, nuggets jersey, coach outlet store, louboutin shoes, prada shoes, ralph lauren outlet online, toms shoes outlet, vans shoes, nike free trainer 5.0, cheap barbour jackets, beats headphones, nfl texans jerseys, prada sunglasses, philipp plein clothes, oakley standard issue, new balance store, cheap eyeglasses, oakley, soccer jerseys, celtics jerseys, michael kors outlet, nfl broncos jerseys, toms.com, longchamp, bottega, longchamp outlet, miami heat jersey, hogan shoes, veneta, nike uk, oakley outlet online, cle Jerseys, adidas, longchamp handbags, baseball jerseys, new balance, michael kors, montblanc, vans, hollister kids, nike air max 90, toms shoes outlet, pumas, bcbg max, , oakley sunglasses cheap, nike outlet, ralph lauren factory store, north face, reebok, ferragamo, nike air max