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
Criar entrada (menuentry) ISO no Grub
Como gerar qualquer emoji ou símbolo unicode a partir do seu teclado
Instalar o VIM 9.1 no Debian 12
Como saber o range de um IP público?
Muitas dificuldades ao instalar distro Linux em Notebook Sony Vaio PCG-6131L (VPCEA24FM)
Slackpkg+ (Slackpkg Plus) está de volta!
Como dividir duas janelas igualmente e lado-a-lado na sua tela