manuales:nagios:capacitacion:servidor_web
Diferencias
Muestra las diferencias entre dos versiones de la página.
Ambos lados, revisión anteriorRevisión previa | |||
manuales:nagios:capacitacion:servidor_web [2020/08/24 23:42] – [NGINX] cayu | manuales:nagios:capacitacion:servidor_web [2020/08/24 23:50] (actual) – cayu | ||
---|---|---|---|
Línea 1: | Línea 1: | ||
====== Configuración del servidor Web ====== | ====== Configuración del servidor Web ====== | ||
===== Apache ===== | ===== Apache ===== | ||
+ | < | ||
+ | < | ||
+ | CustomLog ${APACHE_LOG_DIR}/ | ||
+ | ErrorLog ${APACHE_LOG_DIR}/ | ||
+ | SSLEngine on | ||
+ | SSLCertificateFile / | ||
+ | SSLCertificateKeyFile / | ||
+ | ScriptAlias / | ||
+ | |||
+ | ServerName | ||
+ | ServerAlias | ||
+ | |||
+ | AccessFileName .htaccess | ||
+ | |||
+ | ScriptAlias / | ||
+ | < | ||
+ | SSLRequireSSL | ||
+ | Options ExecCGI | ||
+ | AllowOverride None | ||
+ | AuthBasicProvider ldap-nagios | ||
+ | AuthType Basic | ||
+ | AuthName " | ||
+ | Require valid-user | ||
+ | Order allow,deny | ||
+ | Allow from all | ||
+ | </ | ||
+ | |||
+ | Alias /nagios "/ | ||
+ | < | ||
+ | SSLRequireSSL | ||
+ | AuthBasicProvider ldap-nagios | ||
+ | AuthType Basic | ||
+ | AuthName " | ||
+ | Require valid-user | ||
+ | Order allow,deny | ||
+ | Allow from all | ||
+ | </ | ||
+ | |||
+ | # - Graficas de performance | ||
+ | |||
+ | Alias /pnp4nagios "/ | ||
+ | |||
+ | < | ||
+ | SSLRequireSSL | ||
+ | AuthBasicProvider ldap-nagios | ||
+ | AuthType Basic | ||
+ | AuthName " | ||
+ | Require valid-user | ||
+ | Order allow,deny | ||
+ | Allow from all | ||
+ | < | ||
+ | # Turn on URL rewriting | ||
+ | RewriteEngine On | ||
+ | Options FollowSymLinks | ||
+ | # Installation directory | ||
+ | RewriteBase / | ||
+ | # Protect application and system files from being viewed | ||
+ | RewriteRule ^(application|modules|system) - [F,L] | ||
+ | # Allow any files or directories that exist to be displayed directly | ||
+ | RewriteCond %{REQUEST_FILENAME} !-f | ||
+ | RewriteCond %{REQUEST_FILENAME} !-d | ||
+ | # Rewrite all other URLs to index.php/ | ||
+ | RewriteRule .* index.php/ | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
===== Lighttpd ===== | ===== Lighttpd ===== | ||
< | < |
manuales/nagios/capacitacion/servidor_web.txt · Última modificación: 2020/08/24 23:50 por cayu