Skip to content

Instantly share code, notes, and snippets.

View spyric's full-sized avatar

Egor Talantsev spyric

View GitHub Profile
@spyric
spyric / gist:4eea90db8525341afc2300c272920333
Created August 16, 2017 14:46
Nginx conf for valet like behaviour
server {
listen 80;
server_name HOST_NAME;
root "/var/www/HOST_NAME/current/public";
index index.php index.html index.htm;
access_log off;
error_log /var/log/nginx/HOST_NAME.error.log crit;
@spyric
spyric / Info.md
Last active February 28, 2018 11:56
New server

Installation

In this instruction You can find some pattern to replace:

  • $DOMAIN - domain that you want to change
  • $MYSQL_ROOT_PASSWORD$ - password for MySQL root user

Step 0. Install git

sudo apt-get install git