Comments (4)
Letting Pico handle requests to Pico's internal files like config
is neither more nor less secure than passing it to nginx; the only difference is that the latter exposes the existence of these directories, because they are treated differently than any other non-existing files/dirs.
Not sure why you were experiencing this issue; did you try removing the error_page
directive? Configuring nginx is a very extensive subject and you often get unexpected results.
from picocms.github.io.
did you try removing the error_page directive?
yes, i did.
Set up as above, it will give me generic 404 messages.
If however I use try_files /index.php$is_args$args =404;
(as in the config example) instead of return 404;
, i'm back at the strange behavior of being offered index.php to download.
I have been shifting around the location
blocks and trying things for another hour or so, I can't get to the bottom of it.
The way it is now works well for me; I'd just like to understand why it doesn't work as per documentation. Does it work for you?
from picocms.github.io.
Unfortunatly I'm not using nginx and don't have much experience with it, the nginx docs were written by @smcdougall. However, at the time of writing, it worked as expected. No idea what's wrong there 😒
from picocms.github.io.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in two days if no further activity occurs. Thank you for your contributions! 👍
from picocms.github.io.
Related Issues (14)
- Can't find documentation on resizing images HOT 2
- Tested version of Pico for each plugin and theme HOT 1
- Add support to translate the entire website to other languages HOT 7
- Improve plugin and theme usage docs
- Case-Sensitive path collision in phpDocs HOT 2
- Simplify plugin and theme contribution process HOT 48
- Use GitHub's Open Source Guides to explain how to contribute
- Broken High-DPI Support HOT 3
- Changes to recommended nginx config HOT 3
- Twig URLs broken HOT 3
- Improve documentation navigation
- RSS at https://picocms.org/feed/
- Update Website & Documentation HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from picocms.github.io.