Perteneciente a LPIC-2
Deberás poder instalar y configurar un servidor web. Configurar un servidor web para proporcionar HTTPS e instalar y configurar un servidor proxy, incluidas las políticas de acceso, la autenticación y el uso de recursos. Por último, deberás poder instalar y configurar un servidor proxy inverso, Nginx. Se incluye la configuración básica de Nginx como servidor HTTP.
Módulos:
De cara al examen, habría que tener claro:
There is a restricted area in an Apache site, which requires users to authenticate against the file /srv/www/security/site-passwd. Which command is used to CHANGE the password of existing users, without losing data, when Basic authentication is being used.
htpasswd -c /srv/www/security/site-passwd userhtpasswd /srv/www/security/site-passwd user (Solución)htpasswd -n /srv/www/security/site-passwd userhtpasswd -D /srv/www/security/site-passwd userCon la primera opción estaríamos creando el fichero de nuevo, cargándonos el existente.
When Apache is configured to use name-based virtual hosts:
Which of the following lines in the Apache configuration file would allow only clients with a valid certificate to access the website?
In which Apache context should SSL support be activated?
Which of the following is recommended to reduce Squid's consumption of disk resources?
Which ACL type in Squid's configuration file is used for authentication purposes?
When trying to reverse proxy a web server through Nginx, what keyword is missing from the following configuration sample?
location / { __________ http://proxiedserver:8080; }
remote_proxyreverse_proxyproxy_reverseproxy_pass (Solución)With Nginx, which of the following directives is used to proxy requests to a FastCGI application?
fastcgi_pass (Solución)fastcgi_proxyproxy_fastcgiproxy_fastcgi_passName the two kinds of virtual hosts that can be configured in Apache.
The command 'htpasswd -c /etc/httpd/passswd user' would:
/etc/passwd file to /etc/httpd/passwd and add the user account to it/etc/httpd and prompt for a password for the user account to add to it (Solución)user account for the password file at /etc/httpd/passwdWhich of the following directories is the default site content directory (initial installation configuration)?
/var/www/html (Solución)/var/www/var/html/usr/share/htmlThe 'mod_ssl' module provides the ability for you to generate an SSL certificate for use within your website
When installing the Apache web server, the primary configuration file can be called either 'httpd.conf' or 'apache2.conf' depending on the distribution type and version.