Skip to content

Commit 2753b44

Browse files
committed
template updates
1 parent 20ef6e1 commit 2753b44

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

virtual_host.template

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,15 @@ server {
88
access_log /var/log/nginx/DOMAIN.access.log;
99
error_log /var/log/nginx/DOMAIN.error.log;
1010

11-
index index.html index.htm;
11+
location / {
12+
root ROOT;
13+
try_files $uri $uri/ /index.php?$args ;
14+
index index.html index.htm index.php;
15+
}
16+
17+
#location /admin/public/ {
18+
# try_files $uri $uri/ /admin/public/index.php?$args;
19+
#}
1220

1321
# serve static files directly
1422
location ~* \.(jpg|jpeg|gif|css|png|js|ico|html)$ {

0 commit comments

Comments
 (0)