NGINX: Moved the index to another position

This commit is contained in:
Ilya Prokopenko 2021-10-14 10:52:18 +07:00 committed by GitHub
parent a6266c0e10
commit 10b2ae82d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -17,12 +17,13 @@ server {
root /opt/chandler/htdocs;
client_max_body_size 100m;
index index.php;
ssl_certificate /path/to/fullchain.pem;
ssl_certificate_key /path/to/privkey.pem;
location / {
index index.php;
try_files $uri $uri/ /index.php$is_args$args;
}