Improving the security of PHPMyAdmin and rspamd (UI)

Discussion in 'Tips/Tricks/Mods' started by Th0m, Mar 6, 2021.

  1. Georg_Forge

    Georg_Forge New Member

    But the rspamd defintion is not part of apache_apps.vhost.master.
    And when save something in
    IPSConfig / System / Server Config / e.g. Web
    this snippet is replaced - isn't it?
     
  2. Steini86

    Steini86 Active Member

    It should be. But if it's not then you have no problem.


    No

    I suggest, you first try an upgrade ( --force) and test if there is a problem at all. And then we look on how to fix it.
     
  3. Georg_Forge

    Georg_Forge New Member

    Your are right - looking into the wrong file...
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Custom server templates go to:

    /usr/local/ispconfig/server/conf-custom/

    Custom install templates go to:

    /usr/local/ispconfig/server/conf-custom/install/

    and when you have Nginx and not Apache, you edit the Nginx template and not the one for Apache.
     
    ahrasis and remkoh like this.
  5. Georg_Forge

    Georg_Forge New Member

    Thanks for Your fast reactions!

    After thinking about I chose only first option of @till.
    Code:
    #ispconfig_update.sh --force
    Reconfigure Services? (yes,no,selected) [yes]:
    The following custom templates were found:
    /usr/local/ispconfig/server/conf-custom/apache_apps.vhost.master
    Do you want to rename these conf-custom templates now so the default templates are used? (yes,no) [no]:
    At the end anything as expected:
    First the default config of ISPConfig is active.

    After press save e.g. in
    IPSConfig / System / Server Config / Web
    the custom template with the snipset of @Th0m becomes active - and now access is restricted to some IPs.

    @Steini86
    And of course regardless of the option I have to take care after an update of ISPConfig.

    But nevertheless - these custom functions of ISPConfig are very helpfull.
     

Share This Page