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;
}
}
Atualizando o Passado: Linux no Lenovo G460 em 2025
aaPanel - Um Painel de Hospedagem Gratuito e Poderoso
O macete do Warsaw no Linux Mint e cia
Visualizar arquivos em formato markdown (ex.: README.md) pelo terminal
Dando - teoricamente - um gás no Gnome-Shell do Arch Linux
Como instalar o Google Cloud CLI no Ubuntu/Debian
Mantenha seu Sistema Leve e Rápido com a Limpeza do APT!
Procurando vídeos de YouTube pelo terminal e assistindo via mpv (2025)
Jogos baixados na Central de Aplicativos mas que não abrem (1)
debian com wayland, configuracao de teclado. Mudou Tudo! [RESOLVIDO] (1)
Iinstalar o Scanner Kodak i940 no Linux Mint 19/20? (3)
Pastas da raiz foram para a área de trabalho [RESOLVIDO] (11)