Comments (3)
Hi Thomas,
Thanks, we have huge time differences here 😄
Not tested yet for lighttpd but I already tested it on Nginx, below is the basic configuration for default.conf:
server {
listen 80;
server_name example.com www.example.com;
root /usr/share/nginx/html;
access_log /var/log/nginx/access.log;
error_log /var/log/nginx/error.log error;
index index.php;
location ~ /config/ {
deny all;
}
location / {
try_files $uri $uri/ /index.php;
}
location ~ \.php$ {
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
}
}
Change the root
to your needs. We should improve/create wiki page for server configurations etc.
Regards,
from htmly.
Here a working config for lighttp.
Not perfect, but working. HTMLy is in the root directory in this example
$HTTP["url"] =~ "^/config" {
url.access-deny = ( "" )
}
url.rewrite-once = (
"^/(themes|system|vendor)/(.*)" => "$0",
"^/(.*\.php)" => "$0",
# Everything else is handles by Wordpress
"^/(.*)$" => "/index.php/$1"
)
from htmly.
Thanks Thomas,
I updating the default.conf for Nginx, block any access to config folder. I should creating docs on the official site, the logo is coming soon and I will releasing new version for that.
Update: let me know if you have any idea etc.
from htmly.
Related Issues (20)
- How to add custom social buttons? (Independent Publisher theme) HOT 6
- Adding sub-categories HOT 3
- What is the safe way to disable all navigation menu items? (Grid Zone Theme) HOT 3
- How to customize the sidebar (Grid Zone Theme) HOT 1
- How to Submit Enquiry Form together HOT 2
- Article summary at home page getting error HOT 2
- [FEATURE REQUEST] Plz add version number on footer HOT 6
- [FEATURE REQUEST] Admin to User Problem HOT 1
- [QUESTION] Theme Issue HOT 1
- [QUESTION] Sitemap.xml - is listing only my current year OR max 39 rows HOT 3
- Errror On Installation HOT 2
- Ukrainian language HOT 1
- Subscribe Module HOT 3
- Hello, there is some error on the sitemap HOT 6
- [FEATURE REQUEST] Menu editor, supports relative URL HOT 1
- May be we should not put tags in the markdown file title HOT 1
- [BUG REPORT] Attribute charset not allowed on element meta at this point. HOT 1
- [FEATURE REQUEST]How to integrate into root domain? HOT 2
- [QA] page break (pagination), blogroll not on home page, multimedia dir tree, relative urls etc. HOT 9
- Link previews not reflecting the real logos or the favicon - HTMLY/Ignite HOT 3
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 htmly.