El 19/11/2019 a las 01:25 p. m., Alexis Verano Glez escribió:
Te dejo el ejemplo de como lo utilice para mostrar los repositorios.
-----------------------------------------------
server {
listen 80;
listen [::]:80;
root /var/www/repos/;
server_name repos.gea.transnet.cu;
# Lista de archivos de incializacion del sitio
index index.html index.htm /_h5ai/public/index.php;
access_log /var/log/nginx/repositorios-access.log;
error_log /var/log/nginx/repositorios-error.log;
location / {
try_files $uri $uri/ =404;
# Listar el directorio de carpetas
autoindex on;
autoindex_exact_size off;
autoindex_localtime on;
}
location ~ \.php$ {
include snippets/fastcgi-php.conf;
fastcgi_pass unix:/var/run/php/php7.0-fpm.sock;
}
}
-----------------------------------------------
El mar, 19-11-2019 a las 15:13 +0000, adrian(a)sc.mfp.gob.cu escribió:
> ha usado alguien h5ai para indexar ftp con nginx y como quedaria el
> virtualhost
> _______________________________________________
> Gutl-l mailing list -- gutl-l(a)listas.jovenclub.cu
> To unsubscribe send an email to gutl-l-leave(a)listas.jovenclub.cu
>
_______________________________________________
Gutl-l mailing list -- gutl-l(a)listas.jovenclub.cu
To unsubscribe send an email to gutl-l-leave(a)listas.jovenclub.cu
thanks