Tags » Nginx

Enable NGINX status monitoring in Nagios in Centos 7

Monitoring a NGINX status using Nagios. NGINX has inbuilt status module ,we need to enable the same in the server .

I) check the module is enabled in the NGINX server… 494 more words

How To

Ubuntu 16.06 Server Firewall (iptables), open port 80 and 443

apt-get install -y iptables-persistent

# Add netfilter-persistent Startup
invoke-rc.d netfilter-persistent save

# Stop netfilter-persistent Service
service netfilter-persistent stop

add the following lines in /etc/iptables/rules.v4

-A INPUT -p tcp -m state –state NEW,ESTABLISHED –dport 80 -j ACCEPT… 152 more words

Ubuntu

Can't say I'm not learning

I continue to be frustrated by whatever it is that is interfering with my rented Ubuntu server serving up my worksheet-generating django site. I’ve even come so far that I’ve written up my troubles in… 541 more words

Programming

Making application configuration files dynamic with confd and Azure Redis

Service discovery and hot reconfiguration is a common problem we face in cloud development nowadays. In some cases we can rely on an orchestration engine like Kubernetes to do all the work for us. 635 more words

Application Development And Integration

Common errors during Magento local environment setup and how to solve them quickly

The setup includes: Vagrant Ubuntu box + Nginx + MySql.

1 . Nginx 403 Forbidden

Nginx cannot find your index file. Make sure it exists in the project root directory. 203 more words

Environment Setup

NginX -note

location / { 
   try_files $uri $uri/ /index.html; 
}
Deverlope

nginx: stronger ssl settings

create dhparam file:

cd /etc/ssl/certs
sudo openssl dhparam -out dhparam.pem 4096

add the following to the config:

ssl_certificate /etc/nginx/ssl/example.com.crt;
ssl_certificate_key /etc/nginx/ssl/example.com.key;
ssl_protocols TLSv1.2;
ssl_prefer_server_ciphers on;
ssl_ciphers "EECDH+AESGCM:EDH+AESGCM:AES256+EECDH:AES256+EDH";
ssl_ecdh_curve secp384r1;
ssl_session_cache shared:SSL:10m;
ssl_session_tickets off;
resolver 8.8.8.8 8.8.4.4 valid=300s;
resolver_timeout 5s;
add_header X-Frame-Options DENY;
add_header X-Content-Type-Options nosniff;
ssl_dhparam /etc/ssl/certs/dhparam.pem;
… 13 more words
Nginx