Eila lisasin siis /etc/apache2/apache2.conf faili read
Kood: Vali kõik
#
# Timeout: The number of seconds before receives and sends time out.
#
Timeout 1800
Kogu apache2 konf faili sisu näeb
https://pastebin.com/82Ez3ppZ Siia ei lase millegipärast seda täis mahus postitada, saab postitades sellise ilusa pilt vastuse
Tulemus oli ikka sama, et aeg ajalt puudus kõikidele veebilehtedele mõneks ajaks juurde pääs.
Täna hommuku käisin läbi selle juhendid ja tegin vastavad muudatused esialgu ainult ühe domeeniga
https://www.linode.com/docs/guides/how- ... ntu-18-04/
Eelnevalt ennem muudatuste tegemist kustutasin apache error logi tühjaks. Pärast muudatusi näen logis ainult neid mõnda rida
Kood: Vali kõik
[Thu Dec 09 09:38:29.304718 2021] [mpm_prefork:notice] [pid 89157] AH00171: Graceful restart requested, doing restart
[Thu Dec 09 09:38:30.208587 2021] [so:warn] [pid 89157] AH01574: module proxy_module is already loaded, skipping
[Thu Dec 09 09:38:30.208636 2021] [so:warn] [pid 89157] AH01574: module proxy_fcgi_module is already loaded, skipping
[Thu Dec 09 09:38:30.218031 2021] [mpm_prefork:notice] [pid 89157] AH00163: Apache/2.4.41 (Ubuntu) mod_fcgid/2.3.9 OpenSSL/1.1.1f configured -- resuming normal operations
[Thu Dec 09 09:38:30.218065 2021] [core:notice] [pid 89157] AH00094: Command line: '/usr/sbin/apache2'
Tundub, et nod kaks moodulit on vist nüüd topelt kuidagi kusagil tööl - ma ei saa hetkel ültse aru noist logis olevatest ridadest.
Selline näeb nüüd välja uuem hommikul juhendi järgi täiustatud /etc/apache2/sites-available/iffinland.info.conf
Kood: Vali kõik
<Directory /var/www/iffinland.info/public_html>
Require all granted
</Directory>
<VirtualHost *:80>
ServerAdmin iffi@iffinland.info
ServerName iffinland.info
ServerAlias www.iffinland.info
DocumentRoot /var/www/iffinland.info/public_html
ErrorLog ${APACHE_LOG_DIR}/ERROR.iffinland.info.CONF.error.log
CustomLog ${APACHE_LOG_DIR}/iffinland.info.CONF.access.log combined
DirectoryIndex index.php
<IfModule mod_fcgid.c>
Options +ExecCGI
FcgidConnectTimeout 20
AddType application/x-httpd-php .php
AddHandler application/x-httpd-php .php
Alias /php7-fcgi /usr/lib/cgi-bin/php7-fcgi
ProxyPassMatch " ^/(.*\.php(/.*)?)$" "unix:listen = /var/run/php/php7.4-fpm_iffinland.info.sock|fcgi://localhost/var/www/iffinland.info/public_html/"
</IfModule>
<FilesMatch \.php$>
# 2.4.10+ can proxy to unix socket
SetHandler "proxy:unix:/var/run/php/php7.4-fpm_iffinland.info.sock|fcgi://localhost/var/www/iffinland.info/public_html/"
</FilesMatch>
RewriteEngine on
RewriteCond %{SERVER_NAME} =www.iffinland.info [OR]
RewriteCond %{SERVER_NAME} =iffinland.info
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
</VirtualHost>
Üleval lingil antud juhendi tegin algusest saati läbi - ehk siis installisin kõik mis oli sela kirjas ja lisasin vajalikud read failidess juurde. Domeeni muutsin hetkel aint ühe ära mis on ka siin kirjas.
Oskab keegi targematest miskit mulle nüüd nõua anda. Minu arust pole hetkel veel kõik päris nii nagu peaks.....eks ma jälgin nüüd seda domeeni kuidas ta töötab ja tsekkan aeg ajalt ka error logi....
Igasugune nõuanded ja muu abi on jätkuvalt oodatud.
Kasutusel on ka mul MONIT jälgimis süsteem ja just leitsin ka selle logist järgmist infot millega mina ei oska taas midagi peale hakata
Kood: Vali kõik
[EET Dec 9 12:09:59] error : 'webserver' failed protocol test [HTTP] at [iffinland.info]:443 [TCP/IP TLS] -- Cannot assign requested address
[EET Dec 9 12:11:09] error : '161.97.135.98' failed protocol test [HTTP] at [mustream.info]:443 [TCP/IP TLS] -- Cannot assign requested address
[EET Dec 9 12:11:45] error : 'webserver' failed protocol test [HTTP] at [iffinland.info]:443 [TCP/IP TLS] -- Cannot assign requested address
[EET Dec 9 12:12:55] error : '161.97.135.98' failed protocol test [HTTP] at [mustream.info]:443 [TCP/IP TLS] -- Cannot assign requested address
[EET Dec 9 12:13:30] error : 'webserver' failed protocol test [HTTP] at [iffinland.info]:443 [TCP/IP TLS] -- Cannot assign requested address
[EET Dec 9 12:14:40] error : '161.97.135.98' failed protocol test [HTTP] at [mustream.info]:443 [TCP/IP TLS] -- Cannot assign requested address
[EET Dec 9 12:14:42] error : SSL accept error: error:14094416:SSL routines:ssl3_read_bytes:sslv3 alert certificate unknown
[EET Dec 9 12:14:45] error : SSL accept error: error:14094416:SSL routines:ssl3_read_bytes:sslv3 alert certificate unknown
[EET Dec 9 12:14:53] error : SSL accept error: error:14094416:SSL routines:ssl3_read_bytes:sslv3 alert certificate unknown
[EET Dec 9 12:14:54] error : SSL accept error: error:14094416:SSL routines:ssl3_read_bytes:sslv3 alert certificate unknown
[EET Dec 9 12:15:15] error : 'webserver' failed protocol test [HTTP] at [iffinland.info]:443 [TCP/IP TLS] -- Cannot assign requested address
[EET Dec 9 12:15:28] error : SSL accept error: error:14094416:SSL routines:ssl3_read_bytes:sslv3 alert certificate unknown
[EET Dec 9 12:15:33] error : SSL accept error: error:14094416:SSL routines:ssl3_read_bytes:sslv3 alert certificate unknown
[EET Dec 9 12:16:08] error : SSL accept error: error:14094416:SSL routines:ssl3_read_bytes:sslv3 alert certificate unknown
[EET Dec 9 12:16:15] error : SSL accept error: error:14094416:SSL routines:ssl3_read_bytes:sslv3 alert certificate unknown
Tundub mingi HTTP ümbersuunamise või miski selline probleem
