Skip to content

Instantly share code, notes, and snippets.

View gerMdz's full-sized avatar

gerMdz gerMdz

View GitHub Profile
@gerMdz
gerMdz / www.conf
Created July 2, 2020 23:18
php fpm pool
; Start a new pool named 'www'.
; the variable $pool can be used in any directive and will be replaced by the
; pool name ('www' here)
[www]
; Per pool prefix
; It only applies on the following directives:
; - 'access.log'
; - 'slowlog'
; - 'listen' (unixsocket)
@gerMdz
gerMdz / sitio.local
Last active July 2, 2020 23:17
nginx site available
server {
server_name alamedacms.local;
root /var/www/html/cms/public;
location / {
try_files $uri /index.php$is_args$args;
}
#DEV
location ~ ^/(index_dev|config)\.php(/|$) {
@gerMdz
gerMdz / nginx.conf
Last active July 2, 2020 23:23
nginx conf
user www-data;
worker_processes auto;
pid /run/nginx.pid;
include /etc/nginx/modules-enabled/*.conf;
events {
worker_connections 768;
# multi_accept on;
}