Skip to content
This repository has been archived by the owner on Dec 1, 2023. It is now read-only.

NGINX rewrite issue #942

Open
fxzxmicah opened this issue Nov 15, 2019 · 1 comment
Open

NGINX rewrite issue #942

fxzxmicah opened this issue Nov 15, 2019 · 1 comment

Comments

@fxzxmicah
Copy link

Problem

Hello, using the instance rewrite rule given in the document will cause some extensions to fail (Error 404). It should be the rewrite rule that causes the extension request to the wrong directory, and the files in the correct directory exist. I hope it can be solved.

Technical Details

  • Pagekit version: 1.0.17
  • Webserver: NGINX 1.17
  • Database: MySQL 5.6
  • PHP Version: 7.2
@gridworkz
Copy link

gridworkz commented Dec 11, 2019

I have the identical issue on the same setup you have above. Were you able to fix it?

Update: I had the packages directory setup as a sensitive directory in nginx config. I removed it and everything is OK now. Is it OK to have packages directory open like that?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants