Comments (9)
I try to find a solution as many websites need front end sessions to to able to manipulated user logins. eshops, blogs etc.
from engintron.
After extensive testing, I can't recommend Engintron for this use case. This is because Joomla hardcodes token on all forms making things more difficult for users who wish to login and bypass caching provided by Nginx. In your case, I would recommend setting up Varnish in front of your cPanel server and using this configuration:
https://snipt.net/fevangelou/the-perfect-varnish-configuration-for-joomla-websites/
Varnish is a lot easier to install. Just use yum as sudo and simply change Apache's port to something else under "tweak settings" in cPanel. Make sure you paste back this port in Varnish's configuration so things work as they should.
I'm actually considering adding Varnish as an option in Engintron. More soon :)
from engintron.
Hello,
I had some login issues with WordPress too, but I removed the line proxy_hide_header Set-Cookie in proxy.conf file and now it works fine.
from engintron.
Also if we have nice config for nginx will be much better than Varnish.
Varnish do not have ssl support, so with nginx in front we can have proxy, server for static files and ssl support - all in one
from engintron.
@AgentGod Can you confirm if the content is indeed cached after you edited the proxy.conf file?
from engintron.
@fevangelou I am new in VPS/WHM arena and I don't know exactly how to check it, but what I do is runnung /usr/local/apache/bin/ab -n 1000 -c 10 http://xxxxxxxx.xxx/ before and after, so before Engintron instalation I have 50 requests per second on clean WP install with default theme, after Engintron I have about 12000 requests per second /with and without edited proxy.conf file/, so I think pages are cached.
from engintron.
If you open your browser's dev tools (Chrome DevTools, Firebug etc.) and check the network tab, as you browse the site, you can see the server headers under the page's response entry. There you will see an option called "x-cache" which can switch from "hit" to "miss". Hit means the cache is working as you browse, miss means it doesn't.
from engintron.
Yepp, X-Cache is HIT, it's working.
from engintron.
Thank you. Updated Engintron.
from engintron.
Related Issues (20)
- How to block users from accessing our website through its IP address (the servers IP address)?
- nginx: [emerg] socket() [::]:80 failed (97: Address family not supported by protocol)
- help for websocket support HOT 1
- Problem timeout on my server
- Further development plans HOT 2
- Engintron is suspending Cpanel account
- URGENT - Remove Tracking Code / Spyware from the software HOT 2
- Remove tracking code to external source HOT 1
- blocking/error-avoidance wish HOT 1
- location of vhosts created by engintron HOT 1
- no "charset_map" between the charsets "iso-8859-1" and "utf-8"
- nginx 1.25+ [warn] the "listen ... http2" directive is deprecated, use the "http2" directive instead HOT 4
- nginx: [emerg] unknown directive "http2" in /etc/nginx/conf.d/default_https.conf:15 HOT 19
- Custom_Rules File still on an older version
- Engintron whit ngx_pagespeed
- standard cPanel service URLs on http:// do not redirect to https:// when compared to without nginx - PCI compliance issue HOT 1
- Strange error in Engintron core file
- CloudLinux 9 support HOT 2
- Problem playing video through php on ios or apple devices
- no work Nginx
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 engintron.