Jump to content
Froxlor Forum

kingsley ezenwa

Members
  • Content Count

    90
  • Joined

  • Last visited

Community Reputation

0 Neutral

About kingsley ezenwa

  • Rank
    Advanced Froxie

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. A drop down selection of Popular and regularly used Ones might be the solution BUT that introduces one more point of Failure if anything goes funny. And we want FROXLOR to remain light and Simple .
  2. Hi Please what you mean by synonymous . Is it a name of a website, software or an English expression. Thanks
  3. kingsley ezenwa

    Unable to Use Nginx Micro Cache

    Okay. Let me make out time to study GIT so I can fork this things temporary and also be able to update them. Thanks
  4. kingsley ezenwa

    Unable to Use Nginx Micro Cache

    Any help
  5. kingsley ezenwa

    Unable to Use Nginx Micro Cache

    What I have tried I added the below if (!-e $request_filename) { rewrite ^(.+)$ /index.php?q=$1 last; } location ~ \.php$ { # Setup var defaults set $no_cache ""; # If non GET/HEAD, don't cache & mark user as uncacheable for 1 second via cookie if ($request_method !~ ^(GET|HEAD)$) { set $no_cache "1"; } # Drop no cache cookie if need be # (for some reason, add_header fails if included in prior if-block) if ($no_cache = "1") { add_header Set-Cookie "_mcnc=1; Max-Age=2; Path=/"; add_header X-Microcachable "0"; } # Bypass cache if no-cache cookie is set if ($http_cookie ~* "_mcnc") { set $no_cache "1"; } # Bypass cache if flag is set fastcgi_no_cache $no_cache; fastcgi_cache_bypass $no_cache; fastcgi_cache microcache; fastcgi_cache_key $server_name|$request_uri; fastcgi_cache_valid 404 30m; fastcgi_cache_valid 200 10s; fastcgi_max_temp_file_size 1M; fastcgi_cache_use_stale updating; fastcgi_pass localhost:9000; fastcgi_pass_header Set-Cookie; fastcgi_pass_header Cookie; fastcgi_ignore_headers Cache-Control Expires Set-Cookie; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; fastcgi_split_path_info ^(.+\.php)(/.+)$; fastcgi_param PATH_INFO $fastcgi_path_info; fastcgi_param PATH_TRANSLATED $document_root$fastcgi_path_info; #fastcgi_intercept_errors on; include fastcgi_params; } into a file named microCache.conf and with the help of include e.g include /etc/nginx/microCache.conf; i added it to FROXLOR's Default vHost-settings for NGINX so it gets included in all website's vHost files AND i can confirm the line include /etc/nginx/microCache.conf; is added in all vHosts files for websites. But a look at this directory /var/cache/nginx2 shows it's empty even after visiting most of the websites so the files gets generated. Another observation is that the file above adds another Location block location ~ \.php$ {} while FROXLOR add a similar Location Block location @php {} . Any how to append the content of the file above microCache.conf into the Location Block location @php {} added by FROXLOR. Have tried editing one of the website's vHost file to add it manually yet it refused to work.
  6. kingsley ezenwa

    Unable to Use Nginx Micro Cache

    I think it's better i paste here a short tutorial for you to understand as pasting what worked for me while I was not using Control Panel would be confusing for you. The below should go into the concerned website's vHost file under the server block if (!-e $request_filename) { rewrite ^(.+)$ /index.php?q=$1 last; } location ~ \.php$ { # Setup var defaults set $no_cache ""; # If non GET/HEAD, don't cache & mark user as uncacheable for 1 second via cookie if ($request_method !~ ^(GET|HEAD)$) { set $no_cache "1"; } # Drop no cache cookie if need be # (for some reason, add_header fails if included in prior if-block) if ($no_cache = "1") { add_header Set-Cookie "_mcnc=1; Max-Age=2; Path=/"; add_header X-Microcachable "0"; } # Bypass cache if no-cache cookie is set if ($http_cookie ~* "_mcnc") { set $no_cache "1"; } # Bypass cache if flag is set fastcgi_no_cache $no_cache; fastcgi_cache_bypass $no_cache; fastcgi_cache microcache; fastcgi_cache_key $server_name|$request_uri; fastcgi_cache_valid 404 30m; fastcgi_cache_valid 200 10s; fastcgi_max_temp_file_size 1M; fastcgi_cache_use_stale updating; fastcgi_pass localhost:9000; fastcgi_pass_header Set-Cookie; fastcgi_pass_header Cookie; fastcgi_ignore_headers Cache-Control Expires Set-Cookie; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; fastcgi_split_path_info ^(.+\.php)(/.+)$; fastcgi_param PATH_INFO $fastcgi_path_info; fastcgi_param PATH_TRANSLATED $document_root$fastcgi_path_info; #fastcgi_intercept_errors on; include fastcgi_params; } The below is meant to go into nginx.conf file under the http { } block fastcgi_cache_path /var/cache/nginx2 levels=1:2 keys_zone=microcache:5m max_size=1000m; log_format cache '$remote_addr - $remote_user [$time_local] "$request" ' '$status $upstream_cache_status $body_bytes_sent "$http_referer" ' '"$http_user_agent" "$http_x_forwarded_for"'; Above were copied and unmodified from a tutorial as it's leaner and less confusing for you.
  7. kingsley ezenwa

    Unable to Use Nginx Micro Cache

    Back in the days while doing Hostings without Control Panel, I was able to use NGINX with Micro Cache. Stopped laterafter moving on to ISPConfig 3 then FROXLOR . I now want to resume that again BUT am unable to get it to work with FROXLOR. Any idea how or why it isn't working would be greatly appreciated.
  8. kingsley ezenwa

    SQLSTATE[HY000] [1045] Access Denied For User

    I suddenly started getting such errors on an already Active FROXLOR installation in Production. Though the error only appears while I try navigating to the Admin Settings page, every other pages works perfectly Okay. What I did to remedy it was to edit FROXLOR's config file in /lib directory and change 127.0.0.1 To localhost . Yet to really understand why that suddenly started anyway.
  9. kingsley ezenwa

    Does FROXLOR have OR Support

    Am setting up another Fresh server and thinking if I can this time around replace MariaDB with Percona Server. Latest versions of MariaDb (v10.2 and 10.3) seems to be more Ram Hungry than MariaDB 10.1 . And since I have read so much about Percona server and they really are after performance, am thinking to use it this time around. Since it's a drop-in replacement of MYSQL just like MariaDB, I want to believe it would play very nice with FROXLOR . Also apart from php7.0, will the most recent version of php which is php7.2 play nice with FROXLOR
  10. kingsley ezenwa

    Regarding FROXLOR v0.10

    Can I now use this branch in production? What works and what doesn't? I mean any default features currently yet to be implemented? A look at Github tells that the Branch 0.10.0 is now ahead of the master branch. Need to confirm before using it in production. Thanks
  11. kingsley ezenwa

    Froxlor and Godaddy DNS Setup

    My understanding is that He didn't read the Guide on FROXLOR's page. Most people i know got to know about FROXLOR via the numerous comparisons done on blogs (most of which are Copy & Paste with little to no modifications). So they just follow the instruction until the end. It's when they are unable to make use of things that they keep searching till they find the forum where questions and answers are found. My Suggestion : A well detailed tutorial/guide can be made and a link placed on the download page in such a well it's easily visible to anyone on that page. Can't remember the number of days and all the stress it took me till a member on the chats section sent me a link to a page i had to translate to understand. And that was the deal breaker . FROXLOR is nice, Neat and uncluttered - major reason i abandoned ISPConfig 3 (UI looks like it was designed before the birth of Abacus) which was working perfectly for me.
  12. kingsley ezenwa

    Regarding FROXLOR v0.10

    With the birth of an API based FROXLOR version, how soon do we expect to get a completed version - at least one fully built with all the expected features as we already have on the Main Version. Am asking because, I have a version of FROXLOR which has been slowly modified by me. Slowly modified because I didn't want to do much changes that would prevent or increase time for Updates. And I haven't used GIT before (though won't mind learning that) hence wish to ask very few questions 1. If I use GIT in temporarily forking FROXLOR, can I merge it to any new version of FROXLOR and have the changes I made added to the New version of FROXLOR ? More like always having Latest version of FROXLOR with my changes added without manually copying files/changes over. Most changes have no effect on database schema. 2. Also FROXLOR has always been handicapped when it comes to documentations - hope with the introduction of an API, that would change.
  13. kingsley ezenwa

    Froxlor and Godaddy DNS Setup

    Am very much aware lot's of First Timers (include me) to using FROXLOR end up using one of the Numerous (Uncompleted) Guides out there hence the reason for the numerous issues we they end up having.
  14. kingsley ezenwa

    Non www to www mit https

    and you don't need to do things directly via NGINX. It's Froxlor's role to manage NGINX BUT it's your role to configure FROXLOR on how to do it. Thanks
  15. kingsley ezenwa

    Non www to www mit https

    Okay Now I get what you mean. SSL and https already working on your FROXLOR installation. WWW.google.com is different from google.com What are you looking for is Server Alias. Hit's done via FROXLOR interface. 1. Log into FROXLOR as an admin 2. Go to Domains and click on the domain you want redirected. 3. While editing the domain on Froxlor's interface, look for this text ServerAlias value for the domain: It has a drop-down of where you can select either WWW or Wildcard (*.domain.tld) or No Alias . Just select www 4. Also make sure WWW has an A record in your DNS so it works well. Sorry not used to writing tutorials as am often always very busy to relax and type. Hope this helps.
×