###OUR HTTPS SERVER server { listen 80; server_name teacher.sekolah-djuwita.com www.teacher.sekolah-djuwita.com; access_log /var/log/nginx/access.log; location / { root /var/www/80; index index.php index.html index.htm; } # Static files location location ~ \.php$ { fastcgi_pass unix:/var/run/php5-fpm.sock; fastcgi_buffer_size 32k; fastcgi_buffers 1024 32k; fastcgi_param PATH_INFO $fastcgi_script_name; fastcgi_param SCRIPT_FILENAME /var/www/80$fastcgi_script_name; include fastcgi_params; ####include client_memory; proxy_buffering off; } include /etc/nginx/drop_conf; }