Я переделал свой nginx веб-сервер, собирая его из исходного кода. Теперь у меня возникают проблемы с загрузкой моих веб-страниц.
Вот мой nginx .conf:
user www-data;
worker_processes auto;
pid /var/run/nginx.pid;
include /etc/nginx/modules-enabled/*.conf;
events {
worker_connections 4096;
# multi_accept on;
}
http{
ssl on;
listen 443 ssl;
ssl_certificate /etc/letsencrypt/live/horvathpsychology.com/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/horvathpsychology.com/privkey.pem;
server_name horvathpsychology.com www.horvathpsychology.com;
root /var/www;
index index.html index.htm;
location / {
root /data/www/horvathpsychology.com;
}
Вот вывод nginx -V : --with- cc -opt = '- g -O2 -fdebug-prefix-map = / build / nginx -GkiujU / nginx -1.14.0 =. -fstack-protector-strong -Wformat -Werror = format-security -fPI C -Wdate-time -D_FORTIFY_SOURCE = 2 '--with-ld-opt =' - Wl, -Bsymboli c -функции -Wl, -z, relro -Wl, -z, теперь -fPI C '--prefix = / usr / share / nginx --conf-path = / etc / nginx / nginx .conf --http-log -path = / var / log / nginx / access.log --error-log-path = / var / log / nginx / error.log --lock-путь = / var / lock / nginx .lock --pid -path = / run / nginx .pid --modules-path = / usr / lib / nginx / modules --http-client-body-temp-path = / var / lib / nginx / body --http-fastcgi -temp-path = / var / lib / nginx / fastcgi --http-proxy-temp-path = / var / lib / nginx / proxy --http-scgi-temp-path = / var / lib / nginx / scgi - -http-uwsgi-temp-path = / var / lib / nginx / uwsgi - с отладкой --with-pcre-jit --with-http_ssl_module --with-http_stub_status_module --with-http_realip_module --with-http_auth_request_module - -with-http_v2_module --with-http_dav_module --with-http_slice_module --with threads --with-http_addition_module --with-http_geoip_module = dynamici c --with-http_gunzip_module --with-http_gzip_static_mod ule --with-http_image_filter_module = Dynami c --With-http_sub_module --with-http_xslt_module = Dynami c --With-Stream = Dynami c --With-Stream_ssl_module --With-Mail = Dynami c --with-mail_ssl_module
nginx -t возвращает успешный тест. До того как я получил ошибки с перезагрузкой sudo systemctl nginx, но мне удалось их исправить.
Пожалуйста, дайте мне знать, если вам нужна другая информация для диагностики проблемы, спасибо