Skip to content

Instantly share code, notes, and snippets.

@soderlind
Last active December 15, 2022 17:24
Show Gist options
  • Save soderlind/9daade336b141a7e92fcf17e5786db2a to your computer and use it in GitHub Desktop.
Save soderlind/9daade336b141a7e92fcf17e5786db2a to your computer and use it in GitHub Desktop.

Revisions

  1. soderlind renamed this gist May 5, 2020. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  2. soderlind revised this gist May 5, 2020. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion nginx.conf
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,6 @@
    server {

    # Add the followin to your default server block
    # Add the following to your default server block:
    rewrite /robots\.txt$ /index.php?robots=1 last;

    }
  3. soderlind created this gist May 5, 2020.
    6 changes: 6 additions & 0 deletions nginx.conf
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,6 @@
    server {

    # Add the followin to your default server block
    rewrite /robots\.txt$ /index.php?robots=1 last;

    }