@dxywx
server {
listen 80 default_server;
listen [::]:80 default_server ipv6only=on;
root /var/www/alittleone/public;
index index.php index.html index.htm;
# Make site accessible from http://localhost/
server_name 47.90.4.118;
location / {
# First attempt to serve request as file, then # as directory, then fall back to displaying a 404.
try_files $uri $uri/ /index.php?$query_string; //这里$query_string前面少了个问号
# Uncomment to enable naxsi on this location # include /etc/nginx/naxsi.rules
}