Update librex nginx config

This commit is contained in:
VPS-CL Root 2023-03-15 05:14:37 -03:00
parent 035849a046
commit f8e445da33
1 changed files with 5 additions and 5 deletions

View File

@ -1,15 +1,15 @@
server {
access_log /dev/null;
error_log /dev/null;
access_log /var/log/nginx/librex.zzls.xyz.log;
error_log /var/log/nginx/librex.zzls.xyz.error.log;
server_name librex.zzls.xyz;
include configs/general.conf;
root /var/www/html/librex;
root /var/www/librex;
index index.php;
location ~ \.php$ {
include fastcgi.conf;
fastcgi_pass unix:/run/php/php-fpm.sock;
fastcgi_pass unix:/var/run/php-fpm-legacy/php-fpm.sock;
}
if ($server_protocol ~* "HTTP/1.0") {
@ -40,7 +40,7 @@ server {
listen 443 ssl http2; # managed by Certbot
ssl_certificate /etc/letsencrypt/live/librex.zzls.xyz/fullchain.pem; # managed by Certbot
ssl_certificate_key /etc/letsencrypt/live/librex.zzls.xyz/privkey.pem; # managed by Certbot
#include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot
include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot
ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot