GithubHelp home page GithubHelp logo

Comments (8)

milicodex avatar milicodex commented on June 3, 2024 1

@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.

QROkes avatar QROkes commented on June 3, 2024

Please, read the documentation!

from webinoly.

hj-collab avatar hj-collab commented on June 3, 2024

@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.

QROkes avatar QROkes commented on June 3, 2024

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.

hj-collab avatar hj-collab commented on June 3, 2024

@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.

hj-collab avatar hj-collab commented on June 3, 2024

@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.

hj-collab avatar hj-collab commented on June 3, 2024

@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.

hj-collab avatar hj-collab commented on June 3, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.