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
Como escolher o melhor escalonador de CPU para melhorar o desempenho da máquina
Curiosidade sobre DOOM Guy e Isabelle de Animal Crossing
Inicializando servidor Ubuntu na AWS e rodando apache em Container
Efeitos de luz, sombra e reflexo no DOOM clássico
Instalando TeamViewer no Debian 12
Conheça o Octopi, outro frontend para o Pacman com acesso ao AUR (Arch Linux e derivados)
Terminal transparente no Debian 12 com interface i3wm usando Xfce4-Terminal e Compton
Não consigo iniciar o Linux Mint normalmente (11)