瀏覽代碼

Fix Nginx config

Angristan 7 年之前
父節點
當前提交
28faecbc24
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      contrib/nginx.conf

+ 1 - 1
contrib/nginx.conf

@@ -7,7 +7,7 @@ server {
 	root /var/www/html/public;
 
 	location / {
-		try_files $uri $uri/ /index.php;
+		try_files $uri $uri/ /$is_args$args;
 	}
 
 	location ~ \.php$ {