Skip to content

Instantly share code, notes, and snippets.

Avatar

Felipe M. shashinvision

View GitHub Profile
View laravel remove index.php from url.md
# Remove index.php$
if ($request_uri ~* "^(.*/)index\.php$") {
    return 301 $1;
}

location / {
    try_files $uri $uri/ /index.php?$query_string;

    # Remove from everywhere index.php

if ($request_uri ~* "^(./)index.php(/?)(.)") {

@shashinvision
shashinvision / comunas-regiones.json
Created Jun 24, 2022 — forked from juanbrujo/comunas-regiones.json
Comunas y regiones de chile JSON
View comunas-regiones.json
{
"regiones": [{
"region": "Arica y Parinacota",
"comunas": ["Arica", "Camarones", "Putre", "General Lagos"]
},
{
"region": "Tarapacá",
"comunas": ["Iquique", "Alto Hospicio", "Pozo Almonte", "Camiña", "Colchane", "Huara", "Pica"]
},
{