Skip to content

Instantly share code, notes, and snippets.

View akaNightmare's full-sized avatar

Ivan akaNightmare

  • Brightgrove
  • Ukraine, Kharkiv
View GitHub Profile
@akaNightmare
akaNightmare / zsite.conf
Last active August 29, 2015 14:19
Zend2 + nginx VHOST
server {
listen 80;
listen 443 ssl;
server_name ssl.lan;
return 301 $scheme://www.ssl.lan$request_uri;
}
server {
listen 80;
listen 443 ssl;
# frontend
server {
listen 80;
server_name yii2.lan;
server_tokens off;
client_max_body_size 128M;
charset utf-8;
access_log /var/log/nginx/yii2-access.log main buffer=50k;