Comments (8)
@hj-collab I have not tested this but reading the documentation about the webinoly config file I would try this command
sudo webinoly -dynvar=xmlrpc -value=blocked
You can read this info at the very end of the configuration file documentation here
https://webinoly.com/documentation/webinolys/#server-settings
Another thing that you can do is edit the config file with nano without the need to edit and reupload a file, as you mentioned in your second message here.
Like this
sudo nano /opt/webinoly/webinoly.conf
For the headers part I don't think you can do it with a command anymore, check here
https://webinoly.com/documentation/webinolys/#headers
from webinoly.
Please, read the documentation!
from webinoly.
@QROkes I have read the documentation. I am not able to modify these paramters via command line like others parameters. I don't want to manually edit/upload customized webinoly.conf file. I want to make changes using command line. Thanks!
from webinoly.
That option is already included!
You can modify any variable in the conf file directly from the command line.
Just take a look at the docs!
from webinoly.
@QROkes Sorry but I am not able to edit those mentioned parameters from the first post. Nor there is any mention in the documentation in regards to those specific parameters.
For example:- How do I disable xmlrpc via commandline?
sudo webinoly -xmlrpc=blocked
sudo webinoly -xmlrpc=false
sudo webinoly -xmlrpc=disable
Nothing works.
from webinoly.
@QROkes Can this request be re-open? I have tried more ways but those parameters are not working at all via command line. Please help! Thank you!
from webinoly.
@milicodex Awesome! Thanks! I was able to block xmlrpc this way. I know I can edit via nano. I am moving towards more of automating my site install and command line is much more helpful.
@QROkes I am sorry. I missed this part of the documentation. Can site headers be edited via command line?
from webinoly.
@QROkes I am trying to get the site headers to modify via command line. How do I get this working? I want header-cache-control:public, max-age=604800, immutable
and I am trying the following command for the same. sudo webinoly -dynvar=header-cache-control -value=public,max-age=604800,immutable
It stops at equal sign operator after max-age. How do I define it via command line?
from webinoly.
Related Issues (20)
- Webinoly -conf-value_ is no longer works HOT 2
- Ubuntu 22.x TLS Support HOT 1
- Deleted HOT 1
- Webinoly -update > BASH Shell is required! HOT 1
- Webinoly and Ubuntu 22.04 Compitability HOT 1
- Overzealous bash verification HOT 4
- [Feature Request] Ability to use same media library between prod and staging HOT 1
- [Feature Request] Save backup .sql files as individual files when exporting all DBs
- [Feature Request] Make -max=n parameter work for non db backups HOT 1
- Lost sysctl.conf after upgrading HOT 1
- Error system Could not work properly (Happens each time Updating Webinoly)
- Cannot register on Webinoly support HOT 2
- How to disable domain forwarding? HOT 1
- Improve Security HOT 1
- Consider replacing Nginx with Caddy
- Please, read before opening a new issue!
- Sitemaps failing in WordPress HOT 1
- Creating a parked subdomain generates incorrect nginx config HOT 2
- error when setup
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 webinoly.