feat: initial commit
This commit is contained in:
Executable
+12
@@ -0,0 +1,12 @@
|
||||
location / {
|
||||
try_files $uri $uri/ @extensionless-php;
|
||||
index index.html index.htm index.php;
|
||||
}
|
||||
|
||||
location ~ \.php$ {
|
||||
try_files $uri =404;
|
||||
}
|
||||
|
||||
location @extensionless-php {
|
||||
rewrite ^(.*)$ $1.php last;
|
||||
}
|
||||
Reference in New Issue
Block a user