allow edits to nginx config
Sometimes edits need to be applied to nginx config such as:
location ~* .(doc|pdf|xml)$ {
add_header X-Robots-Tag "noindex, noarchive, nosnippet";
}
This is not currently possible and there is no work around.
This means that google will index lots of files that it shouldn't and can cause many SEO problems.
-
Gary commented
I've like to be able to adjust and fine tune the configuration of NginX
One of our more complicated pages stopped working, googling the issue pointed to nginx being the/a problem, however we cannot adjust any of these settings and CW support seems to struggle to investigate issues related to it.
KEEPALIVE_REQUESTS
KEEPALIVE_TIMEOUT
SETTINGS_MAX_CONCURRENT_STREAMSAbove are some of the useful commands that may or may not help us, however we cannot even test them to see which ones fix our issues of ERR_HTTP2_SERVER_REFUSED_STREAM
-
Sagar Kapasi commented
I Wanted To Be Able To Run Logic For Filtering And Stuff Based On Conditions.
Not Just As A Bucket; To Store And Retrieve JSON. But Run Actual Logic.
Please know your stuff first. Rather than jumping into conclusions. -
Anonymous commented
Sagar Kapasi, you're the noob.
You can use JSON with older versions of MYSQL. You may need to write a MYSQL function or let your programming language of choice encode/decode JSON. For example, you can convert a JSON string to an array, save it to the DB and when you pull it back out of the DB, you can covert it back to a JSON object. You can also use serialize to covert an object to a string before saving. Every programing language I can think of either provides a function or your can write your own.
You can change your Apache public directory using the GUI provided by Cloudways. I think it's under "application settings".
-
Sagar Kapasi commented
Cloudways is useless in customizing solutions. i strongly hate it.
No Nginx
Stuck On MySQL Version 5.6 (so no json stuff)
and many minor inconviniencesCurrently Trying To Deploy An Angular App inside a public_html/dist/app folder instead of public_html. No Workaround In apache's .htaccess to use custom directory as base.
i think this platform is only for noobs. paying huge amounts of money 16GB Ram and stuff, without any utilization of these stuff.
-
Paul commented
X-Robots headers can be added via the regular htaccess file.
<FilesMatch ".(doc|pdf|xml)$">
Header set X-Robots-Tag "noindex, noarchive, nosnippet"
</FilesMatch>