Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nginx: Conflicting location blocks for update.php #145

Open
ragnarkurmwunder opened this issue Sep 8, 2020 · 0 comments
Open

Nginx: Conflicting location blocks for update.php #145

ragnarkurmwunder opened this issue Sep 8, 2020 · 0 comments
Labels
invalid This doesn't seem right nginx

Comments

@ragnarkurmwunder
Copy link
Contributor

https://wunder.slack.com/archives/CAC0EPL1G/p1597851884005800

location ~* ^/update.php {
    include fastcgi.conf;
    fastcgi_param QUERY_STRING $args;
    fastcgi_param SCRIPT_NAME /update.php;
    fastcgi_param SCRIPT_FILENAME $document_root/update.php;
    fastcgi_pass php;
  }
  location ~ ^/(update.php|core/update.php) {
    return 404;
  }
@ragnarkurmwunder ragnarkurmwunder added invalid This doesn't seem right nginx labels Sep 8, 2020
@ragnarkurmwunder ragnarkurmwunder changed the title Nginx: Duplicate location @empty Nginx: Conflicting location blocks for update.php Sep 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right nginx
Projects
None yet
Development

No branches or pull requests

1 participant