Skip to content

Instantly share code, notes, and snippets.

Avatar
💭
I work for food <3 .

Nino Simeon ninosimeon

💭
I work for food <3 .
View GitHub Profile
@ninosimeon
ninosimeon / domain.vhost
Created Dec 18, 2019
PHP nginx config SSL
View domain.vhost
server {
listen 80;
listen [::]:80;
server_name xxxxx.com www.xxxxx.com;
# Redirect all HTTP requests to HTTPS with a 301 Moved Permanently response.
return 301 https://xxxxx.com$request_uri;
}
View 99-custom-dev.conf
// PATH : /etc/php/7.1/fpm/conf.d
expose_php = Off
serialize_precision = 17
max_execution_time = 180
max_input_time = 180
max_input_vars = 99999
memory_limit = 2G
View configuracion.txt
VIM http://vim.spf13.com/
NGINX: http://www.codestance.com/tutorials-archive/nginx-tuning-for-best-performance-255
VirtualHost Nginx (ZF1): http://www.contentwithstyle.co.uk/content/zend-framework-with-nginx/
#Manejo de imagenes
sudo apt-get install php5-gd
[Instalar]
En caso de que se te desconfigure NGINX http://serverfault.com/questions/317191/how-to-install-nginx-and-install-the-configuration-files-too