Enviado em 09/12/2018 - 01:18h
Tenho a seguinte situação tenho um server com Nginxerver {
listen 8080 default_server;
listen [::]:8080 default_server;
root /var/www/html/site1.site.com;
index index.html index.htm ;
server_name site1.site.com;
location / {
try_files $uri $uri/ /index.php?q=$request_uri;
#try_files $uri $uri/ =404;
}
location ~ .php$ {
include snippets/fastcgi-php.conf;
fastcgi_pass unix:/run/php/php7.2-fpm.sock;
}
location ~ /\.ht {
deny all;
}
}
server {
listen 8880 default_server;
listen [::]:8880 default_server;
root /var/www/html/site2.com.br;
index index.html index.htm index.nginx-debian.html;
server_name site2.com.br www.site2.com.br;
location / {
try_files $uri $uri/ /index.php?q=$request_uri;
#try_files $uri $uri/ =404;
}
location ~ .php$ {
include snippets/fastcgi-php.conf;
fastcgi_pass unix:/run/php/php7.2-fpm.sock;
}
location ~ /\.ht {
deny all;
}
}
Comparação entre os escalonadores BFQ e MQ-Deadline (acesso a disco) no Arch e Debian
Conciliando o uso da ZRAM e SWAP em disco na sua máquina
Servidor de Backup com Ubuntu Server 24.04 LTS, RAID e Duplicati (Dell PowerEdge T420)
Visualizar câmeras IP ONVIF no Linux sem necessidade de instalar aplicativos
Como unir duas coleções de ROMs preservando as versões traduzidas (sem duplicatas)
Como instalar o Telegram Desktop no Ubuntu 24.04
Overclocking Permanente para Drastic no Miyoo Mini Plus
Problemas de chaves (/usr/share/keyrings) no Debian
Converter os repositórios Debian para o novo formato com as chaves