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

View file

@ -18,11 +18,12 @@ server {
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;
} }