Skip to content

Instantly share code, notes, and snippets.

View alexandreteles's full-sized avatar
😶‍🌫️
Currently merging my multiple identities

Alexandre Teles (afterSt0rm) alexandreteles

😶‍🌫️
Currently merging my multiple identities
View GitHub Profile
[FASTCGI_SERVER]
ServerName php5-fpm
ServerPath /var/run/php5-fpm.sock
MaxConnections 20
[FASTCGI_LOCATION]
LocationName php5_location
ServerNames php5-fpm
KeepAlive On
Match .*\.php
# Default Host - Configuration
# ============================
# Here the variable principals of the program are defined in respect
# to the configuration of the different types of directives.
[HOST]
# ServerName:
# -----------
# Allow you to set a host and domain name (e.g monkey.linuxchile.cl). If
# you are working in a local network just set your IP address or if you
@alexandreteles
alexandreteles / optimal.conf
Last active August 29, 2015 14:02
Optimal configuration for apache2
# Based on: Apache Server Configs v1.1.0 | MIT License
# https://github.com/h5bp/server-configs-apache
# Set default index files for directories
# https://httpd.apache.org/docs/current/mod/mod_dir.html
DirectoryIndex index.html index.htm index.php default.html default.htm default.php
# ##############################################################################
# # CROSS-ORIGIN RESOURCE SHARING (CORS) #
@alexandreteles
alexandreteles / httpd.conf
Last active August 29, 2015 14:02
Default httpd.conf for InstallLAAMPP.sh script
#
# This is the main Apache server configuration file. It contains the
# configuration directives that give the server its instructions.
# See <URL:http://httpd.apache.org/docs/2.2/> for detailed information.
# In particular, see
# <URL:http://httpd.apache.org/docs/2.2/mod/directives.html>
# for a discussion of each configuration directive.
#
#
# Do NOT simply read the instructions in here without understanding
@alexandreteles
alexandreteles / MariaDB.repo
Created May 30, 2014 20:14
MariaDB 10.x series yum repo file
# MariaDB 10.0 CentOS repository list - created 2014-05-30 20:12 UTC
# http://mariadb.org/mariadb/repositories/
[mariadb]
name = MariaDB
baseurl = http://yum.mariadb.org/10.0/centos6-x86
gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
gpgcheck=1