Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save Tha14/725f504fc6bfcce8511e43ec858efc0b to your computer and use it in GitHub Desktop.

Select an option

Save Tha14/725f504fc6bfcce8511e43ec858efc0b to your computer and use it in GitHub Desktop.

Revisions

  1. Tha14 renamed this gist May 28, 2022. 1 changed file with 0 additions and 0 deletions.
  2. Tha14 created this gist May 28, 2022.
    13 changes: 13 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,13 @@
    ##subroot public ##

    location / {
    try_files $uri $uri/ /index.php?q=$uri&$args;
    }

    location ~ \.php$ {
    fastcgi_split_path_info ^(.+\.php)(/.+)$;
    {FASTCGIPASS}
    fastcgi_index index.php;
    include fastcgi_params;
    fastcgi_param SCRIPT_FILENAME $request_filename;
    }