O site Apache2 não pode usar http

0

Estou tentando migrar meu servidor 16.04 para o 18.04 e estou tendo um problema com um dos meus sites do wordpress. Antes de configurar o letsencrypt eu quero ter certeza de que o site funciona via http normal, e um dos meus sites funcionou muito bem, no entanto o segundo força o https não importa o que me dê um erro de site não pode ser alcançado. Eu comparei os dois arquivos .conf e a única diferença entre os 2 são os diretórios / ServerName, então não sei por que está forçando https em um, mas não no outro. Eu tentei excluir os caches em chrome e safari, mas ambos os navegadores ainda forçam https. Eu olhei nos logs e não vi nenhum erro também. Abaixo você encontrará meu arquivo .conf. Obrigado.

<VirtualHost *:80>
    # The ServerName directive sets the request scheme, hostname and port that
    # the server uses to identify itself. This is used when creating
    # redirection URLs. In the context of virtual hosts, the ServerName
    # specifies what hostname must appear in the request's Host: header to
    # match this virtual host. For the default virtual host (this file) this
    # value is not decisive as it is used as a last resort host regardless.
    # However, you must set it for any further virtual host explicitly.
    ServerName jojo.mydomain.com

    ServerAdmin webmaster@localhost
    DocumentRoot /var/www/html/jojo
    <Directory /var/www/html/jojo>
        AllowOverride All
    </Directory>
    # Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
    # error, crit, alert, emerg.
    # It is also possible to configure the loglevel for particular
    # modules, e.g.
    #LogLevel info ssl:warn

    ErrorLog ${APACHE_LOG_DIR}/error.log
    CustomLog ${APACHE_LOG_DIR}/access.log combined

    # For most configuration files from conf-available/, which are
    # enabled or disabled at a global level, it is possible to
    # include a line for only one particular virtual host. For example the
    # following line enables the CGI configuration for this host only
    # after it has been globally disabled with "a2disconf".
    #Include conf-available/serve-cgi-bin.conf

    
por GRRegis 23.05.2018 / 15:09

0 respostas