Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Error solucionado
- Bueno ahora si comento el error
- estoy haciendo lo siguiente
- <li><a href="index.php"><img src="https://web.com/images/Imagen.webp" alt=""></a></li>
- y me tira el siguiente error
- Failed to load resource: net::ERR_CERT_COMMON_NAME_INVALID
- pero cuando accedo a la imagen funciona bien, normal
- si acceso al link la imagen esta.
- y algunas veces si y otras veces no me sale
- net::ERR_HTTP2_PROTOCOL_ERROR 200
- por ratos sale y por otros no y no tengo idea que pase
- esta es mi config en el el nginx
- server{
- if ($host = web.com) {
- return 301 https://$host$request_uri;
- } # managed by Certbot
- if ($host = www.web.com) {
- return 301 https://$host$request_uri;
- } # managed by Certbot
- listen 80;
- server_name www.web.com web.com;
- return 303 https://www.web.com$request_uri;
- }
- server{
- listen 443 ssl http2;
- ssl_protocols TLSv1.2;
- ssl on;
- server_name web.com www.web.com;
- ssl_certificate /etc/letsencrypt/live/www.web.com/fullchain.pem; # managed by Certbot
- ssl_certificate_key /etc/letsencrypt/live/www.web.com/privkey.pem; # managed by Certbot
- ssl_ciphers EECDH+CHACHA20:EECDH+AES128:RSA+AES128:EECDH+AES256:RSA+AES256:EECDH+3DES:RSA+3DES:!MD5;
- ssl_prefer_server_ciphers On;
- location / {
- proxy_set_header Accept-Encoding "";
- proxy_pass http://localhost:81/web/;
- }
- }
- cuando accedo a mi /etc/hosts se observa lo siguiente:
- 127.0.0.1 localhost
- 127.0.0.1 localhost localhost.localdomain
- localhost web.com
- 127.0.0.1 web.com
- # The following lines are desirable for IPv6 capable hosts
- ::1 ip6-localhost ip6-loopback
- fe00::0 ip6-localnet
- ff00::0 ip6-mcastprefix
- ff02::1 ip6-allnodes
- ff02::2 ip6-allrouters
- ff02::3 ip6-allhosts
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement