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
Agora temos uma assistente virtual no fórum!!! (247)
Manutenção de sistemas Linux Debian e derivados com apt-get, apt, aptitude e dpkg
Melhorando o tempo de boot do Fedora e outras distribuições
Como instalar as extensões Dash To Dock e Hide Top Bar no Gnome 45/46
Como Atualizar Fedora 39 para 40
Instalar Google Chrome no Debian e derivados
Consertando o erro do Sushi e Wayland no Opensuse Leap 15
Instalar a última versão do PostgreSQL no Lunix mantendo atualizado
Flathub na sua distribuição Linux e comandos básicos de gerenciamento
Lançado Ubuntu 24.04 Final (5)
redirecionando saida de comando touch para o AWK[AJUDA] (1)
iso de sistema 32 bit em atividade (14)
conflicting values set for option signed-by regarding source (1)