• Giúp chuyển htaccess sang nginx

  • Chia sẻ kinh nghiệm sử dụng VPS, Hỏi & Trả lời ...

Chia sẻ kinh nghiệm sử dụng VPS, Hỏi & Trả lời ...
 #3820  by vhp269
 22 Dec 2018 17:13
Bạn nào giúp mình chuyển đoạn sau sang nginx với
DirectoryIndex index.php

#<Files ~ "\.(woff2|woff|ttf|otf|svg)$">
# Header add Access-Control-Allow-Origin "*"
#</Files>

# No directory listings
IndexIgnore *

<IfModule mod_rewrite.c>
RewriteEngine on

# Comment the following line if you have not a .well-known directory in the root folder.
RewriteRule ^(\.well-known/.*)$ $1 [L]

RewriteRule ^$ webroot/ [L]
RewriteRule (.*) webroot/$1 [L]
</IfModule>
Get 25 USD Free To USE VPSSIM