Enviado em 08/12/2017 - 11:07h
Pessoal. Necessito de ajuda. Veja o caso:
server {
listen 80 default_server;
listen [::]:80 default_server ipv6only=on;
root /var/www/MyApp/Public;
index index.html index.htm;
# Make site accessible from http://localhost/
server_name 192.168.X.X;
location / {
# First attempt to serve request as file, then
# as directory, then fall back to displaying a 404.
try_files $uri $uri/ /index.html;
# Uncomment to enable naxsi on this location
# include /etc/nginx/naxsi.rules
}
}
server {
listen 80 default_server;
listen [::]:80 default_server ipv6only=on;
root /var/www/MyApp/Public;
index index.html index.htm;
# Make site accessible from http://localhost/
server_name 192.168.X.X;
location / {
# First attempt to serve request as file, then
# as directory, then fall back to displaying a 404.
try_files $uri $uri/ /index.html;
# Uncomment to enable naxsi on this location
# include /etc/nginx/naxsi.rules
}
}
server {
listen 81;
root /var/www/MyAppHom/Public;
index index.html index.htm;
# Make site accessible from http://localhost/
server_name 192.168.X.X;
location / {
# First attempt to serve request as file, then
# as directory, then fall back to displaying a 404.
try_files $uri $uri/ /index.html;
# Uncomment to enable naxsi on this location
# include /etc/nginx/naxsi.rules
}
}
$ service ufw restart
$ php artisan config:clear
$ php artisan cache:clear
$ php artisan clear-compiled
Instalação e configuração do Chrony
Programa IRPF - Guia de Instalação e Resolução de alguns Problemas
Criando uma Infraestrutura para uma micro Empresa
O Que Fazer Após Instalar Ubuntu 25.04
O Que Fazer Após Instalar Fedora 42
Debian 12 -- Errata - Correções de segurança
Instalando o Pi-Hole versão v5.18.4 depois do lançamento da versão v6.0