Hay crear .htaccess de la raiz del servidor: <IfModule mod_rewrite.c> <IfModule mod_negotiation.c> Options -MultiViews </IfModule> RewriteEngine On RewriteCond %{REQUEST_FILENAME} -d [OR] RewriteCond %{REQUEST_FILENAME} -f RewriteRule ^ ^$1 [N] RewriteCond %{REQUEST_URI} (\.\w+$) [NC] RewriteRule ^(.*)$ public/$1 RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^ server.php </IfModule>
ATAQUES XSS LARAVEL
Video muestra como manejar purifier y etiquetas laravel {{ }} y {!! !!} https://aprendible.com/lecciones/que-son-los-ataques-xss-y-como-evitarlos
SERVIDOR CENTOS CON LARAVEL
Instrucciones de instalación yum update -y yum localinstall https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm yum install nginx -y https://www.howtoforge.com/tutorial/how-to-install-laravel-5x-with-nginx-and-php-fpm-7-on-centos-7/ no hacer el cambio de ruta en el listen listen = /run/php-fpm/php-fpm.sock