fix nginx.conf
This commit is contained in:
1 parent
a3cb7f058a
commit
8fe3eea7eb
1 file changed
+8
@@ -17,6 +17,14 @@ server {
|
||||
gzip_types text/plain text/css application/json application/javascript text/xml application/xml application/xml+rss text/javascript;
|
||||
gzip_min_length 1000;
|
||||
|
||||
location = /sitemap.xml {
|
||||
types { }
|
||||
default_type application/xml;
|
||||
charset utf-8;
|
||||
charset_types application/xml;
|
||||
try_files $uri =404;
|
||||
}
|
||||
|
||||
# Xử lý các request chính
|
||||
location / {
|
||||
try_files $uri $uri/ =404;
|
||||
|
||||
Reference in new issue
Block a user