Update librex nginx config
This commit is contained in:
parent
035849a046
commit
f8e445da33
1 changed files with 5 additions and 5 deletions
|
@ -1,15 +1,15 @@
|
||||||
server {
|
server {
|
||||||
access_log /dev/null;
|
access_log /var/log/nginx/librex.zzls.xyz.log;
|
||||||
error_log /dev/null;
|
error_log /var/log/nginx/librex.zzls.xyz.error.log;
|
||||||
|
|
||||||
server_name librex.zzls.xyz;
|
server_name librex.zzls.xyz;
|
||||||
include configs/general.conf;
|
include configs/general.conf;
|
||||||
root /var/www/html/librex;
|
root /var/www/librex;
|
||||||
index index.php;
|
index index.php;
|
||||||
|
|
||||||
location ~ \.php$ {
|
location ~ \.php$ {
|
||||||
include fastcgi.conf;
|
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") {
|
if ($server_protocol ~* "HTTP/1.0") {
|
||||||
|
@ -40,7 +40,7 @@ server {
|
||||||
listen 443 ssl http2; # managed by Certbot
|
listen 443 ssl http2; # managed by Certbot
|
||||||
ssl_certificate /etc/letsencrypt/live/librex.zzls.xyz/fullchain.pem; # 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
|
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
|
ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue