mirror of
https://github.com/openvk/chandler.git
synced 2025-02-23 12:09:42 +03:00
NGINX: Moved the index to another position
This commit is contained in:
parent
a6266c0e10
commit
10b2ae82d8
1 changed files with 2 additions and 1 deletions
|
@ -17,12 +17,13 @@ server {
|
||||||
root /opt/chandler/htdocs;
|
root /opt/chandler/htdocs;
|
||||||
|
|
||||||
client_max_body_size 100m;
|
client_max_body_size 100m;
|
||||||
|
|
||||||
|
index index.php;
|
||||||
|
|
||||||
ssl_certificate /path/to/fullchain.pem;
|
ssl_certificate /path/to/fullchain.pem;
|
||||||
ssl_certificate_key /path/to/privkey.pem;
|
ssl_certificate_key /path/to/privkey.pem;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
index index.php;
|
|
||||||
try_files $uri $uri/ /index.php$is_args$args;
|
try_files $uri $uri/ /index.php$is_args$args;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue