App.vhost on nginx malformed on each save

Discussion in 'General' started by Decckard, Oct 12, 2024.

  1. Decckard

    Decckard New Member

    Hello,
    whenever I save the hosts settings for my master server the related file /etc/nginx/sites-available/apps.vhost gets rewritten (which is fine),
    but every time it insert invalid ssl clauses and for the life of me I cannot find out where this comes from.
    I have NOT placed a custom apps.vhost and I checked that the current factory apps.vhost template is unmodified.

    But everytime I save I get his:

    Code:
    server {
            listen 8081 ssl; ssl_certificate /usr/local/ispconfig/interface/ssl/ispserver.crt; ssl_certificate_key /usr/local/ispconfig/interface/ssl/ispserver.key ssl http2;
            listen [::]:8081 ssl; ssl_certificate /usr/local/ispconfig/interface/ssl/ispserver.crt; ssl_certificate_key /usr/local/ispconfig/interface/ssl/ispserver.key ssl http2 ipv6only=on;
    ...
    
    instead of this:


    Code:
    server {
            listen 8081 ssl http2;
            listen [::]:8081 ssl http2 ipv6only=on;
    ...
    
    Help! Where might this come from?

    Best regards
    Carsten
     
  2. Decckard

    Decckard New Member

    Sorry, figured this out.
    I had this entered in Apps VHost port setting.
     
    ahrasis and till like this.

Share This Page